From a3ac3cca334be63b8d159122529be523863a2706 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 26 Nov 2021 07:36:37 -0500 Subject: [PATCH] Adding a note about priviledges to README. (#18) * Adding a note about priviledges to README. * Some corrections. --- README.md | 4 ++++ ansible.cfg | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0c84f1c..c16c6bf 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,10 @@ Run the playbook: `ansible-playbook -i inventory/hosts lemmy.yml` +*Note*: if you are not the root user or don't have password-less sudo, use this command: + +`ansible-playbook -i inventory/hosts lemmy.yml --ask-become-pass` + If the command above fails, you may need to comment out this line In the ansible.cfg file: `interpreter_python=/usr/bin/python3` diff --git a/ansible.cfg b/ansible.cfg index 16c103d..08550db 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -7,4 +7,3 @@ pipelining = True [privilege_escalation] become = True -become_ask_pass: True