20 lines
803 B
YAML
20 lines
803 B
YAML
---
|
|
- name: Configurazione Resource Manager
|
|
#hosts: is_registry_devsec:is_registry_devnext
|
|
#hosts: resource_manager_devsec
|
|
hosts: all
|
|
tasks:
|
|
- name: Set gcube security keys variables properly according to the environment
|
|
set_fact:
|
|
gcube_security_keys: "{{ gcube_prod_security_keys if infra == 'prod' else gcube_preprod_security_keys if infra == 'pre' else gcube_dev_security_keys }}"
|
|
gcube_security_key_legacy: "{{ gcube_prod_security_key_legacy if infra == 'prod' else gcube_preprod_security_key_legacy if infra == 'pre' else gcube_dev_security_key_legacy }}"
|
|
|
|
# - name:
|
|
# debug:
|
|
# # var: complete_start_scope
|
|
# msg: "{{ gcube_prod_security_keys if infra == 'prod' else gcube_dev_security_keys }}"
|
|
roles:
|
|
- { role: resource-manager }
|
|
|
|
|