Skip to content

Commit

Permalink
Update vrfs_networks.yml (#229)
Browse files Browse the repository at this point in the history
Adding "is defined" condition
  • Loading branch information
conmurphy authored Nov 12, 2024
1 parent 83901b1 commit c2963c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/dtc/create/tasks/vrfs_networks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
config: "{{ vrf_config }}"
register: manage_vrf_result
when:
- MD.vxlan.overlay_services.vrfs is defined
- MD.vxlan.overlay_services.vrfs
- changes_detected_vrfs

Expand All @@ -52,5 +53,6 @@
config: "{{ net_config }}"
register: manage_network_result
when:
- MD.vxlan.overlay_services.networks is defined
- MD.vxlan.overlay_services.networks
- changes_detected_networks

0 comments on commit c2963c0

Please sign in to comment.