diff --git a/tasks/configure_certificates.yml b/tasks/configure_certificates.yml index a3fee28..36d2986 100644 --- a/tasks/configure_certificates.yml +++ b/tasks/configure_certificates.yml @@ -7,7 +7,7 @@ - name: Extract IP from URL content 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 set_fact: