From 1b8e2726af8678b15eb7b094788a3055872b3218 Mon Sep 17 00:00:00 2001 From: Bradley Reynolds Date: Fri, 10 Feb 2023 09:14:53 -0600 Subject: add snippet about world writable ansible dir on windows causing permissions errors Signed-off-by: Bradley Reynolds --- local_testing/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'local_testing') 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 -- cgit v1.2.3