Use builtin correctly
This commit is contained in:
parent
c03b708a8d
commit
ea4ae50be3
|
@ -20,7 +20,7 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Setup sudo
|
- name: Setup sudo
|
||||||
copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/sudoers.d/{{ user.name }}
|
dest: /etc/sudoers.d/{{ user.name }}
|
||||||
content: "{{ user.name }} ALL=(ALL:ALL) ALL"
|
content: "{{ user.name }} ALL=(ALL:ALL) ALL"
|
||||||
mode: 0440
|
mode: 0440
|
||||||
|
|
Loading…
Reference in New Issue
Block a user