group_vars/dm_pool_manager_pre/vault.yml encripted svn password

../library/roles/smartgears/dm_pool_manager/tasks/main.yml manage additional files and packages for dm-pool-manager service
This commit is contained in:
Roberto Cirillo 2017-09-07 12:23:27 +02:00
parent 04a116f78d
commit 29c79e59f5
2 changed files with 13 additions and 1 deletions

View File

@ -12,5 +12,10 @@ dm_pool_prod_ghost_instance: 'PROTO_PROD_STAGING_HOST: dataminer-proto-ghost.d4s
dm_pool_dev_ghost_instance: 'DEV_STAGING_HOST: dataminer1-devnext.d4science.org'
dm_pool_manager_pkgs:
- subversion
- 'ansible'
dm_pool_svn_url: https://svn.d4science.research-infrastructures.eu:443/gcube/trunk/data-analysis
svn_user: svn.d4science
svn_pass: "{{ vault_svn_pass }}"

View File

@ -26,11 +26,18 @@
with_items: '{{ tomcat_m_instances }}'
notify: Restart smartgears
- name: Install the ansible repository
become_user: root
apt_repository: repo="deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" update_cache=yes state=present
- name: Install the packages required to dm-pool-manager-service
become_user: root
apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=1800
apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=1800 force=yes
with_items: '{{ dm_pool_manager_pkgs }}'
- name: First checkout from subversion
subversion: repo={{ dm_pool_svn_url }} dest={{ smartgears_user_home }}/checkout checkout=yes force=yes update=yes username="{{ svn_user }}" password="{{ svn_pass }}"
tags: [ 'tomcat', 'dataminer', 'wps', 'dataminer_algorithms', 'dataminer_algorithms_svn' ]
become: True
become_user: '{{ d4science_user }}'