Fix types for new ansible
Is more strict about types. See https://docs.ansible.com/projects/ansible/latest/porting_guides/porting_guide_core_2.19.html#broken-conditionals
This commit is contained in:
parent
e93cdfd1dd
commit
88061d97b2
3 changed files with 9 additions and 2 deletions
|
|
@ -92,7 +92,7 @@
|
|||
when: not is_proxmox # proxmox has its own firewall configuration
|
||||
|
||||
- name: Run SSH instance in management VRF
|
||||
when: interfaces | selectattr('vrf') | selectattr('vrf.name', '==', 'mgmt')
|
||||
when: interfaces | selectattr('vrf') | selectattr('vrf.name', '==', 'mgmt') | any
|
||||
block:
|
||||
- name: Configure SSH instance in management VRF
|
||||
copy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue