~comcloudway/ansible-srht

739f58b2c086486fc97e4d5d220c6d1c146f0846 — Jakob Meier 10 months ago b4766da
Removed /etc/hosts modifications

as this broke the internal communitcation when using https
M roles/builds.sr.ht/tasks/main.yml => roles/builds.sr.ht/tasks/main.yml +0 -5
@@ 5,11 5,6 @@
      - builds.sr.ht
    state: latest

- name: Setup /etc/hosts localhost redirect
  ansible.builtin.lineinfile:
    path: /etc/hosts
    line: "127.0.0.1    builds.{{ srht_domain }}"

- name: Setup Database
  ansible.builtin.import_tasks: db.yml


M roles/builds.sr.ht/tasks/worker.yml => roles/builds.sr.ht/tasks/worker.yml +0 -5
@@ 87,8 87,3 @@
    state: restarted
    enabled: true
  when: nginxconf.changed

- name: Setup /etc/hosts localhost redirect for runner
  ansible.builtin.lineinfile:
    path: /etc/hosts
    line: "127.0.0.1    runner.{{ srht_domain }}"

M roles/git.sr.ht/tasks/main.yml => roles/git.sr.ht/tasks/main.yml +0 -5
@@ 8,11 8,6 @@
      - fcgiwrap
    state: latest

- name: Setup /etc/hosts localhost redirect
  ansible.builtin.lineinfile:
    path: /etc/hosts
    line: "127.0.0.1    git.{{ srht_domain }}"

- name: Setup Database
  ansible.builtin.import_tasks: db.yml


M roles/hub.sr.ht/tasks/main.yml => roles/hub.sr.ht/tasks/main.yml +0 -5
@@ 5,11 5,6 @@
      - hub.sr.ht
    state: latest

- name: Setup /etc/hosts localhost redirect
  ansible.builtin.lineinfile:
    path: /etc/hosts
    line: "127.0.0.1    hub.{{ srht_domain }} {{ srht_domain }}"

- name: Setup Database
  ansible.builtin.import_tasks: db.yml


M roles/meta.sr.ht/tasks/main.yml => roles/meta.sr.ht/tasks/main.yml +0 -5
@@ 5,11 5,6 @@
      - meta.sr.ht
    state: latest

- name: Setup /etc/hosts localhost redirect
  ansible.builtin.lineinfile:
    path: /etc/hosts
    line: "127.0.0.1    meta.{{ srht_domain }}"

- name: Setup Database
  ansible.builtin.import_tasks: db.yml