Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions netsim/ansible/tasks/readiness-check/vm-clab-ssh-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
local_action:
module: shell
cmd: which sshpass
changed_when: False
run_once: True
any_errors_fatal: True

Expand All @@ -17,6 +18,7 @@
ssh -o StrictHostKeyChecking=no {{ netlab_ssh_args|default('') }} \
-o UserKnownHostsFile=/dev/null {{ ansible_user }}@{{ ansible_host }} \
'{{ netlab_check_command | default("show version") }}'
changed_when: False
register: command_out
until: command_out.rc == 0
retries: "{{ netlab_check_retries | default(20) }}"
Expand Down