Skip to content
Merged
Show file tree
Hide file tree
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: 1 addition & 1 deletion ansible/roles/test/tasks/base_sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

when:
- ({{ ps_out.stdout_lines | length }} <= 0) or ({{ orch_out.stdout_lines | length }} <= 0)
- recover is defined and recover == "true"
- recover is defined and recover | bool

- name: Get syslog error information
shell: cat /var/log/syslog |tail -n 5000 |grep -i error
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/test/tasks/interface.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

when:
- ansible_interface_link_down_ports | length > 0
- recover is defined and recover == "true"
- recover is defined and recover | bool

- debug: msg="Found link down ports {{ansible_interface_link_down_ports}}"
when: ansible_interface_link_down_ports | length > 0
Expand Down