library/roles/smartgears: Manage the gcube pre production keys.

This commit is contained in:
Andrea Dell'Amico 2016-07-01 12:32:24 +02:00
parent d9c513dede
commit a19949c63f
2 changed files with 15 additions and 0 deletions

View File

@ -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' ]

View File

@ -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