changed to wait_for module

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2022-07-26 12:43:32 +01:00
parent 5985d89488
commit 1c0714b3fb
No known key found for this signature in database
GPG key ID: F734FDFC154B83FB

View file

@ -87,7 +87,7 @@ jobs:
working-directory: .github/workflows
id: test_os
run: >-
ansible all -i hosts.yml -m wait_for_connection -a "connect_timeout=10 delay=10 timeout=600 sleep=5"
ansible all -i hosts.yml -m wait_for -a "port=22 connect_timeout=10 delay=10 timeout=600 sleep=5"
# Run the ansible playbook
- name: Run_Ansible_Playbook