diff --git a/smartgears/dataminer_app/tasks/install-gcube-key.yml b/smartgears/dataminer_app/tasks/install-gcube-key.yml index 9d6e946..8644d07 100644 --- a/smartgears/dataminer_app/tasks/install-gcube-key.yml +++ b/smartgears/dataminer_app/tasks/install-gcube-key.yml @@ -18,3 +18,11 @@ notify: Restart smartgears when: install_gcube_dev_key tags: [ 'dataminer', 'gcube_key' ] + +- name: Install the preprod gcube keys + get_url: url={{ item.url }} dest={{ smartgears_instance_path }}/webapps/{{ dataminer_52north_webapp_name }}/ecocfg/PARALLEL_PROCESSING owner={{ smartgears_user }} group={{ smartgears_user }} mode=0400 + with_items: + - '{{ gcube_pre_key_1 }}' + notify: Restart smartgears + when: install_gcube_preprod_key + tags: [ 'dataminer', 'gcube_key' ] diff --git a/smartgears/install-gcube-key/tasks/main.yml b/smartgears/install-gcube-key/tasks/main.yml index 9c17a5c..87a109f 100644 --- a/smartgears/install-gcube-key/tasks/main.yml +++ b/smartgears/install-gcube-key/tasks/main.yml @@ -17,3 +17,10 @@ when: install_gcube_dev_key tags: gcube_key +- name: Install the preprod gcube keys + get_url: url={{ item.url }} dest=/{{ gcube_tomcat_lib_dir }}/{{ item.name }} owner={{ smartgears_user }} group={{ smartgears_user }} mode=0400 + with_items: + - '{{ gcube_pre_key_1 }}' + notify: Restart smartgears + when: install_gcube_preprod_key + tags: gcube_key