forked from ISTI-ansible-roles/ansible-role-mailman
Fix the --check execution.
This commit is contained in:
parent
74303e5340
commit
9da458e2db
|
|
@ -45,6 +45,7 @@
|
|||
owner: root
|
||||
group: '{{ mailman_user }}'
|
||||
mode: '0750'
|
||||
register: mailman_postorius_site_config_helper_install
|
||||
when: mailman_manage_postorius_site | bool
|
||||
tags: [mailman_postorius_site]
|
||||
|
||||
|
|
@ -60,7 +61,11 @@
|
|||
'CHANGED:' in mailman_postorius_site_config_result.stdout or
|
||||
'WOULD CHANGE:' in mailman_postorius_site_config_result.stdout
|
||||
check_mode: false
|
||||
when: mailman_manage_postorius_site | bool
|
||||
when:
|
||||
- mailman_manage_postorius_site | bool
|
||||
- >-
|
||||
not ansible_check_mode or
|
||||
mailman_postorius_site_config_helper_install is not changed
|
||||
tags: [mailman_postorius_site]
|
||||
|
||||
- name: Install the hyperkitty configuration file
|
||||
|
|
|
|||
Loading…
Reference in New Issue