diff --git a/extraconfig/services/skydive-analyzer.yaml b/extraconfig/services/skydive-analyzer.yaml index c148726ad9..d87fac1416 100644 --- a/extraconfig/services/skydive-analyzer.yaml +++ b/extraconfig/services/skydive-analyzer.yaml @@ -110,6 +110,7 @@ outputs: skydive_os_auth_url: {{os_auth_url}}/v3 skydive_os_service_region_name: {{os_region_name}} skydive_deployment_mode: container + skydive_deployment_source: tripleo skydive_flow_protocol: websocket skydive_topology_probes: - neutron @@ -160,8 +161,10 @@ outputs: set -e + ANSIBLE_CONFIG="{{playbook_dir}}/ansible.cfg" ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook + {% if ansible_ssh_private_key_file is defined %}--private-key '{{ansible_ssh_private_key_file}}'{% endif %} -i '{{playbook_dir}}/skydive/inventory.yml' --extra-vars '@{{playbook_dir}}/skydive/global_defaults.yml' --extra-vars '@{{playbook_dir}}/skydive/global_vars.yml' @@ -170,6 +173,7 @@ outputs: mode: 0700 - name: run skydive-deploy.sh (immediate log at {{playbook_dir}}/skydive/playbook.log) + become: true shell: | {{playbook_dir}}/skydive/skydive-deploy.sh 2>&1 | tee {{playbook_dir}}/skydive/playbook.log exit ${PIPESTATUS[0]}