Skip to content

Commit

Permalink
updated condition
Browse files Browse the repository at this point in the history
  • Loading branch information
devan555 committed May 22, 2024
1 parent f145535 commit e5ff1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containerlab_test/test_case1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- name: Check if specific VLAN is present
set_fact:
vlan_present: "{{ 'VLAN 100' in vlan_output.stdout[0] }}"
vlan_present: "{{ 'VLAN 10' in vlan_output.stdout[0] }}"

- name: Fail if VLAN is not present
fail:
Expand Down

0 comments on commit e5ff1ad

Please sign in to comment.