kolla-ansible/tests/templates/inventory.j2
Michal (inc0) Jastrzebski f5354f55b1 Enable multinode gate
This patches changes deploy_gate quite a bit so in reality all
deployments will now assume multinode (even if it's single node). After
that we will refactor it even further to enable easy addition of new
scenerios.

Change-Id: I1faada46e6a7aa026128b2f01d77eabb04759439
2017-06-05 11:35:20 -07:00

7 lines
253 B
Django/Jinja

{{ primary_node_address }} ansible_become=true ansible_connection=local
{% for addr in sub_node_addresses %}
{% if addr %}
{{ addr }} ansible_user=jenkins ansible_become=true ansible_ssh_private_key_file=/etc/nodepool/id_rsa
{% endif %}
{% endfor %}