Skip to content

Commit 8f1ced3

Browse files
authored
Merge pull request #154 from marcelmamula/vip-brd
sap_vm_temp_vip: Fix NoneType broadcast variable
2 parents db32594 + e6f63c0 commit 8f1ced3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

roles/sap_vm_temp_vip/tasks/get_temp_vip_details.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@
8484
when:
8585
- sap_vm_temp_vip_default_broadcast == ''
8686
- __sap_vm_temp_vip_get_ips.stdout is defined and __sap_vm_temp_vip_get_ips.stdout | length > 0
87+
# regex_search is 'NoneType' when string is not found, therefore we have to skip it.
88+
- __sap_vm_temp_vip_brd is not none
8789
changed_when: false
8890

8991
# Combine final broadcast IP based on decision below:

0 commit comments

Comments
 (0)