sendmail: ansible-lint fixes
This commit is contained in:
parent
09921538da
commit
64e868fc10
2 changed files with 43 additions and 38 deletions
|
@ -1,13 +1,19 @@
|
|||
---
|
||||
|
||||
- name: restart sendmail
|
||||
service:
|
||||
- name: Restart sendmail
|
||||
ansible.builtin.service:
|
||||
name: sendmail
|
||||
state: restarted
|
||||
|
||||
- name: update sendmail config
|
||||
command: make -C /etc/mail all
|
||||
notify: restart sendmail
|
||||
- name: Update sendmail config
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- make
|
||||
- -C
|
||||
- /etc/mail
|
||||
- all
|
||||
notify: Restart sendmail
|
||||
|
||||
- name: update aliases
|
||||
command: newaliases
|
||||
- name: Update aliases
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- newaliases
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue