fix extract of ip
This commit is contained in:
parent
8029f92cd0
commit
f676acc307
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
- name: Extract IP from URL content
|
- name: Extract IP from URL content
|
||||||
set_fact:
|
set_fact:
|
||||||
node_external_ip: checkip_url | regex_search('[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')
|
node_external_ip: "{{ checkip_url | regex_search('[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}') }}"
|
||||||
|
|
||||||
- name: Set fact for mail server FQDN
|
- name: Set fact for mail server FQDN
|
||||||
set_fact:
|
set_fact:
|
||||||
|
|
Loading…
Reference in a new issue