summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2020-03-23 18:33:40 +0100
committerMichael Adam <obnox@samba.org>2020-03-25 22:32:23 +0100
commit6dfc2a4952673bf1e369f5ba5d66a7c83f5866f4 (patch)
treee51a3f479306c600e17f7f5ecff9f9fa5eee25c3
parent09a0c42ac33cc4f09ddff85e81352a2db8563cb2 (diff)
downloadsamba-integration-6dfc2a4952673bf1e369f5ba5d66a7c83f5866f4.tar.gz
samba-integration-6dfc2a4952673bf1e369f5ba5d66a7c83f5866f4.tar.xz
samba-integration-6dfc2a4952673bf1e369f5ba5d66a7c83f5866f4.zip
Add environment.sh to be sourced.
For now this sets the ANSIBLE_INVENTORY variable so that ansible commands can be run against the vagrant env. Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--vagrant/environment.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/vagrant/environment.sh b/vagrant/environment.sh
new file mode 100644
index 0000000..a0b257c
--- /dev/null
+++ b/vagrant/environment.sh
@@ -0,0 +1,3 @@
+# source me
+export ANSIBLE_INVENTORY=.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
+