ansible-roles/smartgears/install-gcube-key/tasks/main.yml

20 lines
679 B
YAML

---
- name: Install the production gcube keys
get_url: url={{ item.url }} dest=/{{ gcube_tomcat_lib_dir }}/{{ item.name }} owner={{ d4science_user }} group={{ d4science_user }} mode=0400
with_items:
- '{{ gcube_prod_key_1 }}'
- '{{ gcube_prod_key_2 }}'
- '{{ gcube_prod_key_3 }}'
when: install_gcube_prod_key
tags: gcube_key
- name: Install the devel gcube keys
get_url: url={{ item.url }} dest=/{{ gcube_tomcat_lib_dir }}/{{ item.name }} owner={{ d4science_user }} group={{ d4science_user }} mode=0400
with_items:
- '{{ gcube_dev_key_1 }}'
- '{{ gcube_dev_key_2 }}'
- '{{ gcube_dev_key_3 }}'
when: install_gcube_dev_key
tags: gcube_key