Fix ansible syntax to avoid ansible warnings (#3499)

This commit is contained in:
Erwan Miran
2018-10-11 09:45:00 +02:00
committed by k8s-ci-robot
parent cdce8c81da
commit dd5327ef9e
7 changed files with 18 additions and 13 deletions

View File

@@ -83,15 +83,15 @@
- debug:
msg: "{{droplets}}, {{inventory_path}}"
when: "{{ state == 'present' }}"
when: state == 'present'
- name: Template the inventory
template:
src: ../templates/inventory-do.j2
dest: "{{ inventory_path }}"
when: "{{ state == 'present' }}"
when: state == 'present'
- name: Wait for SSH to come up
wait_for: host={{item.droplet.ip_address}} port=22 delay=10 timeout=180 state=started
with_items: "{{droplets.results}}"
when: "{{ state == 'present' }}"
when: state == 'present'