feat: update EchoIP service configuration for improved readability in ansible tasks
This commit is contained in:
parent
f93abe152b
commit
0f140e4763
@ -5,12 +5,10 @@
|
|||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
echoip_service_dir: "{{ ansible_env.HOME }}/services/echoip"
|
echoip_service_dir: "{{ ansible_env.HOME }}/services/echoip"
|
||||||
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('\\s+', '') }}"
|
||||||
vault='j7nmhqlsjmp2r6umly5t75hzb4', field='account_id') | regex_replace('\\s+', '') }}
|
maxmind_license_key: "{{ lookup('community.general.onepassword', 'finpwvqp6evflzjcsnwge74n34',
|
||||||
maxmind_license_key: >
|
vault='j7nmhqlsjmp2r6umly5t75hzb4', field='license_key') | regex_replace('\\s+', '') }}"
|
||||||
{{ lookup('community.general.onepassword', 'finpwvqp6evflzjcsnwge74n34',
|
|
||||||
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