~comcloudway/ansible-srht

abdc93710e7c4e74e901ba20982ccdee2b574ac6 — Jakob Meier 11 months ago cfd50b9
Properly moved worker service setup into worker setup file
2 files changed, 7 insertions(+), 6 deletions(-)

M roles/builds.sr.ht/tasks/config.yml
M roles/builds.sr.ht/tasks/worker.yml
M roles/builds.sr.ht/tasks/config.yml => roles/builds.sr.ht/tasks/config.yml +0 -6
@@ 54,9 54,3 @@
    state: restarted
    enabled: true
  when: conf.changed
- name: Enable & start builds.sr.ht worker service
  ansible.builtin.service:
    name: builds.sr.ht-worker
    state: restarted
    enabled: true
  when: conf.changed

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

- name: Enable & start builds.sr.ht worker service
  ansible.builtin.service:
    name: builds.sr.ht-worker
    state: restarted
    enabled: true
  when: conf.changed