ansible-lint: Don't use the local_action module [E504] (#4666)

This commit is contained in:
MarkusTeufelberger
2019-05-01 09:38:55 +02:00
committed by Kubernetes Prow Robot
parent e029a09345
commit e814da1eec
4 changed files with 11 additions and 6 deletions

View File

@@ -77,4 +77,10 @@
gather_facts: false
tasks:
- name: Wait for SSH to come up.
local_action: wait_for host={{inventory_hostname}} port=22 delay=60 timeout=240 state=started
wait_for:
host: "{{ inventory_hostname }}"
port: 22
delay: 60
timeout: 240
state: started
delegate_to: localhost