Skip to content
Snippets Groups Projects
Commit 6b316ebf authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

feat-test-if ansible-can be run in user_data

parent 3245d36a
No related branches found
No related tags found
No related merge requests found
Pipeline #10054 passed with stages
in 1 minute and 25 seconds
...@@ -52,7 +52,7 @@ resource "openstack_compute_instance_v2" "ohpc" { ...@@ -52,7 +52,7 @@ resource "openstack_compute_instance_v2" "ohpc" {
# Run Ansible playbook # Run Ansible playbook
runcmd: runcmd:
- ansible-playbook -c local -i /CRI_XCBC/hosts -l `hostname -s` -e "{'cod_deploy':'false', 'compute_nodes':[{'name':'${var.ohpc_instance_name}', 'ip':'${var.internal_ip}', 'mac':'${mac_address}', 'vnfs':'', 'sockets':'1', 'corespersocket':'1'}]}" /CRI_XCBC/site-ops.yaml -b -v - ansible-playbook -c local /CRI_XCBC/site-ops.yaml -b -v
EOF EOF
# defines the networks of the instance # defines the networks of the instance
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment