mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-16 02:30:03 -03:30
Fix ansible syntax to avoid ansible warnings (#3499)
This commit is contained in:
committed by
k8s-ci-robot
parent
cdce8c81da
commit
dd5327ef9e
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user