summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--ansible.cfg4
-rwxr-xr-xsetup.sh3
3 files changed, 8 insertions, 7 deletions
diff --git a/README.md b/README.md
index bca2782..5b939bc 100644
--- a/README.md
+++ b/README.md
@@ -5,10 +5,10 @@
In order to test this, you can use *Docker* and build a simple Linux container
```bash
- git clone git@github.com:nikolaosboutalas/init.git
- cd init
+ $ git clone git@github.com:nikolaosboutalas/init.git
+ $ cd init
# Build a docker container with the specified distribution
- docker build . -t ansible -f Dockerfile.<distribution> && docker run --rm -it ansible
+ $ docker build . -t ansible -f Dockerfile.<distribution> && docker run --rm -it ansible
# Inside the new running container
- ./setup.sh
+ $ ansible-playbook local.yml
```
diff --git a/ansible.cfg b/ansible.cfg
new file mode 100644
index 0000000..fdc93a4
--- /dev/null
+++ b/ansible.cfg
@@ -0,0 +1,4 @@
+[defaults]
+ask_vault_pass = True
+[privilege_escalation]
+become_ask_pass = True
diff --git a/setup.sh b/setup.sh
deleted file mode 100755
index f5e94a3..0000000
--- a/setup.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-ansible-playbook local.yml --ask-become-pass --ask-vault-pass