fix (pb): ip validation
This commit is contained in:
@@ -25,5 +25,5 @@
|
|||||||
|
|
||||||
- name: Use user input only if provided, otherwise keep the default (netmask)
|
- name: Use user input only if provided, otherwise keep the default (netmask)
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
guest_netmask: "{{ ip_result.user_input.split('/') | second }}"
|
guest_netmask: "{{ ip_result.user_input.split('/')[1] }}"
|
||||||
when: ip_result.user_input | length > 0
|
when: ip_result.user_input | length > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user