fix regex
This commit is contained in:
parent
cc6b770bbf
commit
9ff6744a60
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
application_secret: "{{ ovh_application_secret }}"
|
application_secret: "{{ ovh_application_secret }}"
|
||||||
consumer_key: "{{ ovh_consumer_key }}"
|
consumer_key: "{{ ovh_consumer_key }}"
|
||||||
domain: "{{ item['item'] }}"
|
domain: "{{ item['item'] }}"
|
||||||
value: "{{ item['content'] | b64decode | regex_replace('^.*\\\"(.*)\\\".*$', '\\1', multiline=True) }}"
|
value: "{{ item['content'] | b64decode | regex_replace('^.*\\\"(.*)\\\".*$', '\\1', multiline=True) | regex_replace('[\\s\\n\\t\\\"]*', '', multiline=True)}}"
|
||||||
record_type: "DKIM"
|
record_type: "DKIM"
|
||||||
name: '_domainkey'
|
name: '_domainkey'
|
||||||
record_ttl: 10
|
record_ttl: 10
|
||||||
|
|
Loading…
Reference in a new issue