Move privilege escalation params into config (#17)
This commit is contained in:
parent
ee36fdc98a
commit
34497c3874
2 changed files with 5 additions and 1 deletions
|
@ -38,7 +38,7 @@ Edit the inventory hosts file (inventory/hosts) to your liking.
|
|||
|
||||
Run the playbook:
|
||||
|
||||
`ansible-playbook -i inventory/hosts lemmy.yml --become -K`
|
||||
`ansible-playbook -i inventory/hosts lemmy.yml`
|
||||
|
||||
If the command above fails, you may need to comment out this line In the ansible.cfg file:
|
||||
|
||||
|
|
|
@ -4,3 +4,7 @@ inventory = inventory
|
|||
|
||||
[ssh_connection]
|
||||
pipelining = True
|
||||
|
||||
[privilege_escalation]
|
||||
become = True
|
||||
become_ask_pass: True
|
||||
|
|
Loading…
Reference in a new issue