sendmail: ansible-lint fixes

This commit is contained in:
Timo Makinen 2022-10-30 15:28:30 +00:00
parent 09921538da
commit 64e868fc10
2 changed files with 43 additions and 38 deletions

View file

@ -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