Environment variables added

This commit is contained in:
Gonzalo Acuña 2023-11-01 16:38:07 -03:00
parent 74d182e732
commit a69937e533
No known key found for this signature in database
GPG Key ID: 646BA79A313A2270

View File

@ -98,10 +98,17 @@
get_url: get_url:
url: "{{ rollover_alias_url }}" url: "{{ rollover_alias_url }}"
dest: "{{ indexer_conf_path }}/indexerRolloverAlias.sh" dest: "{{ indexer_conf_path }}/indexerRolloverAlias.sh"
mode: 744
- name: Initialize Rollover alias - name: Initialize Rollover alias
command: > command: >
INDEXER_PASSWORD={{ indexer_admin_password }} INDEXER_HOSTNAME={{ target_address }} ./{{ indexer_conf_path }}/indexerRolloverAlias.sh {{ indexer_conf_path }}/indexerRolloverAlias.sh
environment:
INDEXER_PASSWORD: "{{ indexer_admin_password }}"
INDEXER_HOSTNAME: "{{ target_address }}"
become: yes
become_user: root
run_once: true run_once: true
- name: Create custom user - name: Create custom user