fix regexp
This commit is contained in:
parent
21b794957d
commit
c271161f96
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/aliases
|
path: /etc/aliases
|
||||||
line: "{{ item.user }}: {{ item.alias }}"
|
line: "{{ item.user }}: {{ item.alias }}"
|
||||||
match: "^{{ item.user }}: "
|
regexp: "^{{ item.user }}: "
|
||||||
loop: "{{ local_aliases }}"
|
loop: "{{ local_aliases }}"
|
||||||
notify: Refresh aliases
|
notify: Refresh aliases
|
||||||
###################
|
###################
|
||||||
|
|
Loading…
Reference in a new issue