sendmail: Lint fixes for command execution
This commit is contained in:
parent
c8afd02fb2
commit
03def639d5
1 changed files with 4 additions and 0 deletions
|
@ -11,9 +11,13 @@
|
||||||
- -C
|
- -C
|
||||||
- /etc/mail
|
- /etc/mail
|
||||||
- all
|
- all
|
||||||
|
register: result
|
||||||
|
changed_when: result.rc == 0
|
||||||
notify: Restart sendmail
|
notify: Restart sendmail
|
||||||
|
|
||||||
- name: Update aliases
|
- name: Update aliases
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
argv:
|
argv:
|
||||||
- newaliases
|
- newaliases
|
||||||
|
register: result
|
||||||
|
changed_when: result.rc == 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue