Update path for ansible-playbook
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2022-02-18 16:41:33 +01:00
parent 97ab34737d
commit 81abb30846
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -33,7 +33,7 @@ resource "null_resource" "configure_serverctl_master" {
count = var.serverctl_master_count
provisioner "local-exec" {
command = "ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -u root -i '${element(hcloud_server.serverctl_master.*.ipv4_address, 0)},' --private-key ${var.pvt_key} -e 'pub_key=${var.pub_key}' apache-install.yml"
command = "ANSIBLE_HOST_KEY_CHECKING=False /usr/bin/ansible-playbook -u root -i '${element(hcloud_server.serverctl_master.*.ipv4_address, 0)},' --private-key ${var.pvt_key} -e 'pub_key=${var.pub_key}' apache-install.yml"
}
triggers = {