Move privilege escalation params into config (#17)

This commit is contained in:
Nutomic 2021-11-25 16:30:50 +00:00 committed by GitHub
parent ee36fdc98a
commit 34497c3874
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -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:

View file

@ -4,3 +4,7 @@ inventory = inventory
[ssh_connection]
pipelining = True
[privilege_escalation]
become = True
become_ask_pass: True