aboutsummaryrefslogtreecommitdiffstats
path: root/local_testing
diff options
context:
space:
mode:
authorGravatar Bradley Reynolds <[email protected]>2023-02-10 09:14:53 -0600
committerGravatar Hassan Abouelela <[email protected]>2023-02-22 21:47:57 +0400
commit1b8e2726af8678b15eb7b094788a3055872b3218 (patch)
tree6875bd3a86fd6ecb7240279b6a3579a6d0c0995b /local_testing
parentAdd `local_testing` utilizing vagrant and virtualbox to create an environment... (diff)
add snippet about world writable ansible dir on windows causing permissions errors
Signed-off-by: Bradley Reynolds <[email protected]>
Diffstat (limited to 'local_testing')
-rw-r--r--local_testing/README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/local_testing/README.md b/local_testing/README.md
index c600f79..db3c409 100644
--- a/local_testing/README.md
+++ b/local_testing/README.md
@@ -15,8 +15,12 @@ vagrant ssh # Get a shell, password=vagrant
/vagrant/scripts/push-keys # Push the control VM's ssh key to all nodes
# run ansible
+cd infra
+# if you're on Windows, the `infra` directory will be mounted with permissions set to 777
+# which ansible will reject as insecure
+# export the below environment variable to force anisble to accept the writable config
+# export ANSIBLE_CONFIG='/home/vagrant/infra/ansible.cfg'
ansible-playbook playbook.yml --inventory local_testing/hosts.yaml --user vagrant
-
```
Below are the IPs of the VMs on the VirtualBox network