From 28d8c64eff231d715850f19716ffc677577a712f Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Tue, 2 May 2023 18:49:18 +0200 Subject: [PATCH] Fix ask become pass --- README.md | 5 +++++ ansible.cfg | 4 ++++ docker/inventory.yaml | 1 - 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 README.md create mode 100644 ansible.cfg diff --git a/README.md b/README.md new file mode 100644 index 0000000..5b8fdbb --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Configure + +```bash +ansible-playbook playbook.yml --ask-become-pass +``` \ No newline at end of file diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..0ca9d49 --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,4 @@ +[defaults] +inventory = docker/inventory.yaml +retry_files_enabled = false +interpreter_python = auto_silent \ No newline at end of file diff --git a/docker/inventory.yaml b/docker/inventory.yaml index a22a5eb..a6234d0 100644 --- a/docker/inventory.yaml +++ b/docker/inventory.yaml @@ -4,4 +4,3 @@ servers: ansible_connection: ssh ansible_user: test ansible_port: 1022 - ansible_become_password: test \ No newline at end of file