diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/ha/tasks')
-rw-r--r-- | deploy/adapters/ansible/roles/ha/tasks/main.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/ha/tasks/main.yml b/deploy/adapters/ansible/roles/ha/tasks/main.yml index 668f6847..8eb9f1b7 100644 --- a/deploy/adapters/ansible/roles/ha/tasks/main.yml +++ b/deploy/adapters/ansible/roles/ha/tasks/main.yml @@ -6,7 +6,7 @@ with_items: packages | union(packages_noarch) - name: generate ha service list - shell: echo {{ item }} >> /opt/service + lineinfile: dest=/opt/service create=yes line='{{ item }}' with_items: services | union(services_noarch) - name: install pexpect @@ -84,3 +84,5 @@ - name: restart rsyslog shell: service rsyslog restart + +- meta: flush_handlers |