fix: update regex to remove all whitespace from MaxMind account ID and license key
This commit is contained in:
parent
f46115e829
commit
f93abe152b
@ -7,10 +7,10 @@
|
|||||||
echoip_data_dir: "/mnt/object_storage/services/echoip"
|
echoip_data_dir: "/mnt/object_storage/services/echoip"
|
||||||
maxmind_account_id: >
|
maxmind_account_id: >
|
||||||
{{ lookup('community.general.onepassword', 'finpwvqp6evflzjcsnwge74n34',
|
{{ lookup('community.general.onepassword', 'finpwvqp6evflzjcsnwge74n34',
|
||||||
vault='j7nmhqlsjmp2r6umly5t75hzb4', field='account_id') | regex_replace('\\n', '') }}
|
vault='j7nmhqlsjmp2r6umly5t75hzb4', field='account_id') | regex_replace('\\s+', '') }}
|
||||||
maxmind_license_key: >
|
maxmind_license_key: >
|
||||||
{{ lookup('community.general.onepassword', 'finpwvqp6evflzjcsnwge74n34',
|
{{ lookup('community.general.onepassword', 'finpwvqp6evflzjcsnwge74n34',
|
||||||
vault='j7nmhqlsjmp2r6umly5t75hzb4', field='license_key') | regex_replace('\\n', '') }}
|
vault='j7nmhqlsjmp2r6umly5t75hzb4', field='license_key') | regex_replace('\\s+', '') }}
|
||||||
|
|
||||||
- name: Create EchoIP directory
|
- name: Create EchoIP directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user