diff --git a/README.md b/README.md index a44f795..0c84f1c 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/ansible.cfg b/ansible.cfg index 87bdc5d..16c103d 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -4,3 +4,7 @@ inventory = inventory [ssh_connection] pipelining = True + +[privilege_escalation] +become = True +become_ask_pass: True