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

@ -69,6 +69,10 @@ build {
provisioner "ansible" { 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" { post-processor "shell-local" {