fix ansible vault password
This commit is contained in:
parent
7f8cb29675
commit
bf7fc89e18
1 changed files with 1 additions and 1 deletions
2
main.tf
2
main.tf
|
@ -23,7 +23,7 @@ module "vm" {
|
||||||
name = "hermes"
|
name = "hermes"
|
||||||
use_host_cert = false
|
use_host_cert = false
|
||||||
fixed_address = "192.168.30.7/24"
|
fixed_address = "192.168.30.7/24"
|
||||||
ansible_command = "ANSIBLE_ROLES_PATH=roles ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -u root -i '192.168.30.7,' hermes.yml"
|
ansible_command = "ANSIBLE_ROLES_PATH=roles ANSIBLE_HOST_KEY_CHECKING=False ANSIBLE_VAULT_PASSWORD_FILE=util/secret-service-client.sh ansible-playbook -u root -i '192.168.30.7,' hermes.yml"
|
||||||
mac = "CA:FE:C0:FF:EE:07"
|
mac = "CA:FE:C0:FF:EE:07"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue