Skip to content

Commit

Permalink
fixed test.yml for oob_contract. Only 1 issue remains now
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziaf007 committed Dec 14, 2024
1 parent 56b27fe commit ee8f461
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/integration/targets/aci_oob_contract/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,19 @@
- version.current.0.topSystem.attributes.version is version('5', '>=')
- query_cloud.current == [] # This condition will execute only non-cloud sites
block: # block specifies execution of tasks within, based on conditions
- name: Ensure Contract doesn't exist
cisco.aci.aci_oob_contract:
<<: *aci_info
contract: anstest
state: absent
description: Ansible Test

- name: create contract - check mode works
cisco.aci.aci_oob_contract: &aci_oob_contract_present
<<: *aci_info
contract: anstest
description: Ansible Test
state: present
check_mode: true
register: present_check_mode

Expand Down

0 comments on commit ee8f461

Please sign in to comment.