Skip to content

Commit 7fb94e8

Browse files
authored
Mark shell actions in vm-clab-ssh-check.yml as "not changed" (#1483)
1 parent b82d82d commit 7fb94e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

netsim/ansible/tasks/readiness-check/vm-clab-ssh-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
local_action:
77
module: shell
88
cmd: which sshpass
9+
changed_when: False
910
run_once: True
1011
any_errors_fatal: True
1112

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

0 commit comments

Comments
 (0)