Changing become method of make_ansible_user
This commit is contained in:
parent
d6704cc251
commit
99038f28a8
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
become: true
|
become: true
|
||||||
|
become_method: su -
|
||||||
tasks:
|
tasks:
|
||||||
- name: Create the ansible user
|
- name: Create the ansible user
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
|
Loading…
Reference in New Issue
Block a user