refactor common role

This commit is contained in:
HgO
2020-11-28 20:47:30 +01:00
parent 67b8c5f230
commit 2b8f69fc41
45 changed files with 756 additions and 110 deletions

View File

@@ -3,6 +3,26 @@
name: ssh
state: restarted
- name: reload postfix
service:
name: postfix
state: reloaded
- name: update aliases
command: newaliases
- name: update postfix senders
command: postmap {{ postfix_senders_map_path }}
- name: update postfix secrets
command: postmap {{ postfix_sasl_secrets_path }}
- name: reload nginx
include_tasks: ../handlers/nginx.yml
when: nginx_started is not changed
when: nginx_started is not changed
- name: reload autofs
service:
name: autofs
state: restarted
when: autofs_started is not changed