retry ansible provisioner

This commit is contained in:
Iwan Clément
2022-01-19 10:40:31 +00:00
parent 44e519c528
commit 2f6ab0ebd2

View File

@@ -51,16 +51,16 @@ source "proxmox" "rocky" {
build { build {
sources = [ "source.proxmox.rocky" ] sources = [ "source.proxmox.rocky" ]
#provisioner "ansible" { provisioner "ansible" {
# pause_before = "20s" pause_before = "20s"
# ansible_env_vars= [ ansible_env_vars= [
# "ANSIBLE_HOST_KEY_CHECKING=False", "ANSIBLE_HOST_KEY_CHECKING=False",
# "ANSIBLE_SSH_ARGS='-o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s'", "ANSIBLE_SSH_ARGS='-o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s'",
# "ANSIBLE_NOCOLOR=True" "ANSIBLE_NOCOLOR=True"
# ] ]
# extra_arguments= [ extra_arguments= [
# "-e templating=true" "-e templating=true"
# ] ]
# playbook_file = "../Ansible/playbooks/SolvayLinuxServers.yaml" playbook_file = "../Ansible/playbooks/SolvayLinuxServers.yaml"
#} }
} }