Configure ansible temporary folder
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
d95daa1861
commit
b9fb3cdb30
1
ansible/ansible.cfg
Normal file
1
ansible/ansible.cfg
Normal file
@ -0,0 +1 @@
|
||||
remote_tmp = /tmp/.ansible-${USER}/tmp
|
@ -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" {
|
||||
|
Loading…
Reference in New Issue
Block a user