diff --git a/tasks/configure.yml b/tasks/configure.yml index 58d7716..8cf0818 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -183,6 +183,14 @@ owner: root group: postfix mode: 0640 + +- name: Create local aliases + ansible.builtin.lineinfile: + path: /etc/aliases + line: "{{ item.user }}: {{ item.alias }}" + match: "^{{ item.user }}: " + loop: "{{ local_aliases }}" + notify: Refresh aliases ################### # # # This at the end #