add aliases copy task to common play
This commit is contained in:
parent
db53abe225
commit
3cb30d2985
|
@ -0,0 +1,3 @@
|
|||
# See man 5 aliases for format
|
||||
postmaster: root
|
||||
root: s+cron@sadiqs.com
|
|
@ -3,3 +3,5 @@
|
|||
service: name=rsyslog state=restarted
|
||||
- name: restart cron
|
||||
service: name=cron state=restarted
|
||||
- name: newaliases
|
||||
shell: newaliases
|
||||
|
|
|
@ -69,3 +69,7 @@
|
|||
- chrony
|
||||
- name: Ensure that the periodic APT cron task clears out old kernels and does unattended security upgrades
|
||||
copy: src=10periodic dest=/etc/apt/apt.conf.d/10periodic backup=yes owner=root group=root mode=0644
|
||||
- name: Copy over our aliases file
|
||||
copy: src=aliases dest=/etc/aliases
|
||||
notify:
|
||||
- newaliases
|
||||
|
|
Loading…
Reference in New Issue