aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar shtlrs <[email protected]>2024-05-08 10:20:16 +0200
committerGravatar jchristgit <[email protected]>2024-05-14 19:40:59 +0200
commit4a98414aaa3f635da52677994d9d422dad0d33f0 (patch)
tree3d61573131fff9eeca69646d601f9df526c62fbb
parentRemove pixels-modsite.pythondiscord.com DNS (diff)
ignore .ansible file upon syncing
This will avoid the copying of a potentially empty .ansible file on host, rendering the guest playbooks unrunnable
-rw-r--r--ansible/local_testing/Vagrantfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/local_testing/Vagrantfile b/ansible/local_testing/Vagrantfile
index 3532c0c..30e6a9e 100644
--- a/ansible/local_testing/Vagrantfile
+++ b/ansible/local_testing/Vagrantfile
@@ -12,7 +12,7 @@ Vagrant.configure("2") do |config|
config.vm.define "control", primary: true do |control|
control.vm.hostname = "control"
control.vm.network "private_network", ip: "192.168.56.1", virtualbox__intnet: true
- control.vm.synced_folder "../..", "/home/vagrant/infra", type: "rsync", rsync__exclude: ['.git-crypt', '.ruff_cache', 'dns', 'docs', 'kubernetes', 'venv', '.gitattributes', '.git', '.gitmodules', '.gitignore', '.pre-commit-config.yaml', 'LICENSE', 'README.md', 'server_bootstrap.sh']
+ control.vm.synced_folder "../..", "/home/vagrant/infra", type: "rsync", rsync__exclude: ['.git-crypt', '.ruff_cache', 'dns', 'docs', 'kubernetes', 'venv', '.gitattributes', '.git', '.gitmodules', '.gitignore', '.pre-commit-config.yaml', 'LICENSE', 'README.md', 'server_bootstrap.sh', 'ansible/.ansible']
control.vm.provision "Install poetry", type: "shell", inline: <<-SHELL
apt-get install -y python3-poetry