Configure ansible temporary folder
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-06-08 10:41:01 +02:00
parent d95daa1861
commit b9fb3cdb30
2 changed files with 6 additions and 1 deletions

1
ansible/ansible.cfg Normal file
View File

@ -0,0 +1 @@
remote_tmp = /tmp/.ansible-${USER}/tmp

View File

@ -68,7 +68,11 @@ build {
sources = ["source.vsphere-iso.ubuntuserver"]
provisioner "ansible" {
playbook_file = "ansible/playbook.yml"
playbook_file = "ansible/playbook.yml"
user = "ubuntu"
ansible_env_vars = [
"ANSIBLE_CONFIG=ansible/ansible.cfg"
]
}
post-processor "shell-local" {