[TIDY] move when statements, fix whitespace
Having the when condition of a task at the top instead of bottom is easiert to read. Also some spaces were another whitespace character on accident.
This commit is contained in:
parent
1de4e4ef24
commit
a0ac0a67a7
13 changed files with 54 additions and 60 deletions
|
|
@ -37,9 +37,9 @@
|
|||
content: "{{ exim_etc_mailname }}"
|
||||
register: cronmails_mailname_update
|
||||
- name: cronmails - Run update-exim4.conf
|
||||
when: cronmails_conftmp_update.changed or cronmails_conffile_update.changed or cronmails_mailname_update.changed
|
||||
become: yes
|
||||
ansible.builtin.shell: "update-exim4.conf"
|
||||
when: cronmails_conftmp_update.changed or cronmails_conffile_update.changed or cronmails_mailname_update.changed
|
||||
- name: cronmails - Enable and start exim4
|
||||
become: yes
|
||||
ansible.builtin.service:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue