diff options
Diffstat (limited to 'ansible/roles/smarthost-client/tasks/main.yml')
-rw-r--r-- | ansible/roles/smarthost-client/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/roles/smarthost-client/tasks/main.yml b/ansible/roles/smarthost-client/tasks/main.yml index 899f736..933251c 100644 --- a/ansible/roles/smarthost-client/tasks/main.yml +++ b/ansible/roles/smarthost-client/tasks/main.yml @@ -29,3 +29,15 @@ - name: postmap relay credentials shell: | postmap /etc/postfix/sasl_passwd + +- name: install aliases + copy: + src: aliases + dest: /etc/aliases + owner: root + group: root + mode: 0644 + +- name: run newaliases + shell: newaliases + |