fix regexp

This commit is contained in:
Antonio J. Delgado 2023-01-30 21:33:14 +02:00
parent 21b794957d
commit c271161f96

View file

@ -188,7 +188,7 @@
ansible.builtin.lineinfile:
path: /etc/aliases
line: "{{ item.user }}: {{ item.alias }}"
match: "^{{ item.user }}: "
regexp: "^{{ item.user }}: "
loop: "{{ local_aliases }}"
notify: Refresh aliases
###################