forked from ISTI-ansible-roles/ansible-role-mailman
Merge pull request 'Add a tag to isolate the tasks that manage the main config file.' (!18) from adellam/mailman:master into master
Reviewed-on: ISTI-ansible-roles/ansible-role-mailman#18
This commit is contained in:
commit
26fa450eea
|
|
@ -58,6 +58,7 @@
|
|||
- 'mailman.cfg'
|
||||
- 'postfix-mailman.cfg'
|
||||
register: mailman_conf_install
|
||||
tags: [ 'mailman', 'mailman_conf', 'mailman_main_conf' ]
|
||||
|
||||
- name: The mailman executables must be visible to systemd
|
||||
file: src={{ mailman_bindir }}/{{ item }} dest=/sbin/{{ item }} state=link
|
||||
|
|
@ -96,6 +97,7 @@
|
|||
- name: Restart mailman if the configuration changed
|
||||
service: name=mailman state=restarted
|
||||
when: mailman_conf_install is changed
|
||||
tags: [ 'mailman', 'mailman_conf', 'mailman_main_conf' ]
|
||||
|
||||
- name: Restart mailman if the configuration changed
|
||||
service: name=mailman state=restarted
|
||||
|
|
|
|||
Loading…
Reference in New Issue