removed tags smartgears and tomcat from service tasks

This commit is contained in:
Roberto Cirillo 2019-05-07 17:04:58 +02:00
parent 3d2b39f5fc
commit a66d1ecfec
14 changed files with 38 additions and 38 deletions

View File

@ -10,7 +10,7 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: not catalogue_ws_install when: not catalogue_ws_install
tags: [ 'smartgears', 'catalogue_ws', 'tomcat' ] tags: [ 'catalogue_ws' ]
- block: - block:
- name: Get the catalogue-ws - name: Get the catalogue-ws
@ -28,5 +28,5 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: catalogue_ws_install when: catalogue_ws_install
tags: [ 'smartgears', 'catalogue_ws', 'tomcat' ] tags: [ 'catalogue_ws' ]

View File

@ -19,30 +19,30 @@
- name: Install the dataminer web.xml - name: Install the dataminer web.xml
template: src=web.xml.j2 dest={{ smartgears_instance_path }}/webapps/{{ dataminer_wps_name }}/WEB-INF/web.xml template: src=web.xml.j2 dest={{ smartgears_instance_path }}/webapps/{{ dataminer_wps_name }}/WEB-INF/web.xml
notify: Restart smartgears notify: Restart smartgears
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_webxml' ] tags: [ 'dataminer', 'wps', 'wps_webxml' ]
- name: Install the old properties files - name: Install the old properties files
copy: src={{ item }} dest={{ smartgears_instance_path }}/webapps/{{ dataminer_wps_name }}/ecocfg/{{ item }} force=yes copy: src={{ item }} dest={{ smartgears_instance_path }}/webapps/{{ dataminer_wps_name }}/ecocfg/{{ item }} force=yes
with_items: '{{ dataminer_properties_files }}' with_items: '{{ dataminer_properties_files }}'
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_properties' ] tags: [ 'dataminer', 'wps', 'wps_properties' ]
- name: Install the script that fixes the WPS configuration - name: Install the script that fixes the WPS configuration
become_user: "{{ d4science_ansible_become_user | default('root') }}" become_user: "{{ d4science_ansible_become_user | default('root') }}"
template: src=wps-config-fixer.j2 dest=/usr/local/bin/wps-config-fixer owner=root group=root mode=0555 template: src=wps-config-fixer.j2 dest=/usr/local/bin/wps-config-fixer owner=root group=root mode=0555
with_items: '{{ tomcat_m_instances }}' with_items: '{{ tomcat_m_instances }}'
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_config' ] tags: [ 'dataminer', 'wps', 'wps_config' ]
- name: Fix the WPS config file - name: Fix the WPS config file
shell: /usr/local/bin/wps-config-fixer shell: /usr/local/bin/wps-config-fixer
notify: Restart smartgears notify: Restart smartgears
when: dataminer_updated is changed when: dataminer_updated is changed
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_config' ] tags: [ 'dataminer', 'wps', 'wps_config' ]
- name: Force the fix of the WPS config file - name: Force the fix of the WPS config file
shell: /usr/local/bin/wps-config-fixer shell: /usr/local/bin/wps-config-fixer
notify: Restart smartgears notify: Restart smartgears
when: dataminer_force_reconfiguration is defined and dataminer_force_reconfiguration when: dataminer_force_reconfiguration is defined and dataminer_force_reconfiguration
tags: [ 'tomcat', 'dataminer', 'wps', 'wps_config' ] tags: [ 'dataminer', 'wps', 'wps_config' ]
- name: Remove the file that lists the installed algorithms, after an upgrade - name: Remove the file that lists the installed algorithms, after an upgrade
file: dest={{ smartgears_user_home }}/wps_algorithms_install_log/already_installed_algorithms.txt state=absent file: dest={{ smartgears_user_home }}/wps_algorithms_install_log/already_installed_algorithms.txt state=absent
@ -57,7 +57,7 @@
become: True become: True
become_user: '{{ smartgears_user }}' become_user: '{{ smartgears_user }}'
tags: [ 'tomcat', 'dataminer', 'wps' ] tags: [ 'dataminer', 'wps' ]
- block: - block:
- name: Verify if R is installed - name: Verify if R is installed

View File

@ -10,7 +10,7 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: not dm_pool_manager_install when: not dm_pool_manager_install
tags: [ 'smartgears', 'dm_pool_manager', 'tomcat' ] tags: [ 'dm_pool_manager' ]
- block: - block:
- name: Get the dm_pool_manager - name: Get the dm_pool_manager
@ -61,9 +61,9 @@
- name: First checkout from subversion - 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 }}" subversion: repo={{ dm_pool_svn_url }} dest={{ smartgears_user_home }}/checkout checkout=yes force=yes update=yes username="{{ svn_user }}" password="{{ svn_pass }}"
when: not dm_pool_manager_upgrade when: not dm_pool_manager_upgrade
tags: [ 'tomcat', 'dataminer', 'wps', 'dataminer_algorithms', 'dataminer_algorithms_svn' ] tags: [ 'dataminer', 'wps', 'dataminer_algorithms', 'dataminer_algorithms_svn' ]
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: dm_pool_manager_install when: dm_pool_manager_install
tags: [ 'smartgears', 'dm_pool_manager', 'tomcat' ] tags: [ 'dm_pool_manager' ]

View File

@ -10,7 +10,7 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: not gcat_install when: not gcat_install
tags: [ 'smartgears', 'gcat', 'tomcat' ] tags: [ 'gcat' ]
- block: - block:
- name: Get the gcat war - name: Get the gcat war
@ -39,5 +39,5 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: gcat_install when: gcat_install
tags: [ 'smartgears', 'gcat', 'tomcat' ] tags: [ 'gcat' ]

View File

@ -9,7 +9,7 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
tags: [ 'smartgears', 'grsf_publisher_ws', 'tomcat' ] tags: [ 'grsf_publisher_ws' ]
when: not grsf_publisher_ws_install when: not grsf_publisher_ws_install
- block: - block:
@ -28,5 +28,5 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
tags: [ 'smartgears', 'grsf_publisher_ws', 'tomcat' ] tags: [ 'grsf_publisher_ws' ]
when: grsf_publisher_ws_install when: grsf_publisher_ws_install

View File

@ -9,7 +9,7 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: not perform_service_install when: not perform_service_install
tags: [ 'smartgears', 'perform_service', 'tomcat' ] tags: [ 'perform_service' ]
- block: - block:
- name: Get the perform-service - name: Get the perform-service
@ -27,5 +27,5 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: perform_service_install when: perform_service_install
tags: [ 'smartgears', 'perform_service', 'tomcat' ] tags: [ 'perform_service' ]

View File

@ -28,7 +28,7 @@
become: True become: True
become_user: '{{ smartgears_user }}' become_user: '{{ smartgears_user }}'
when: not r_connector_install when: not r_connector_install
tags: [ 'smartgears', 'r_connector', 'tomcat' ] tags: [ 'r_connector' ]
- block: - block:
- name: Get the R Connector war - name: Get the R Connector war
@ -69,17 +69,17 @@
- name: Install the script that unmounts the remote workspace - name: Install the script that unmounts the remote workspace
become_user: root become_user: root
template: src=rconnector_unmount dest={{ r_connector_workspace_unmount }} owner=root group=root mode=0555 template: src=rconnector_unmount dest={{ r_connector_workspace_unmount }} owner=root group=root mode=0555
tags: [ 'smartgears', 'r_connector', 'r_connector_conf', 'tomcat' ] tags: [ 'r_connector', 'r_connector_conf' ]
- name: Install the script that checks for stale workspace mounts - name: Install the script that checks for stale workspace mounts
become_user: root become_user: root
template: src=rconnector_check_stale_sessions dest={{ r_connector_check_stale_sessions }} owner=root group=root mode=0555 template: src=rconnector_check_stale_sessions dest={{ r_connector_check_stale_sessions }} owner=root group=root mode=0555
tags: [ 'smartgears', 'r_connector', 'r_connector_conf', 'tomcat' ] tags: [ 'r_connector', 'r_connector_conf' ]
- name: Install the cron job that regulary wipes out the stale workspace mounts - name: Install the cron job that regulary wipes out the stale workspace mounts
become_user: root become_user: root
cron: name="Unmount the stale workspace sessions" special_time=hourly job="{{ r_connector_check_stale_sessions }} >/dev/null 2>&1" user=root cron: name="Unmount the stale workspace sessions" special_time=hourly job="{{ r_connector_check_stale_sessions }} >/dev/null 2>&1" user=root
tags: [ 'smartgears', 'r_connector', 'r_connector_conf', 'tomcat' ] tags: [ 'r_connector', 'r_connector_conf' ]
- name: Crete the directory that will host the RConfiguration stuff - name: Crete the directory that will host the RConfiguration stuff
become_user: root become_user: root
@ -95,7 +95,7 @@
- name: Install /etc/R/Rprofile.site as a symlink to the svn repository - name: Install /etc/R/Rprofile.site as a symlink to the svn repository
become_user: root become_user: root
file: src={{ r_connector_rprofile_path }}/.Rprofile dest=/etc/R/Rprofile.site state=link force=yes file: src={{ r_connector_rprofile_path }}/.Rprofile dest=/etc/R/Rprofile.site state=link force=yes
tags: [ 'smartgears', 'r_connector', 'r_connector_conf', 'tomcat' ] tags: [ 'r_connector', 'r_connector_conf' ]
- name: Install the cron job that regulary updates the Rprofile - name: Install the cron job that regulary updates the Rprofile
cron: name="Update the RStudioConfiguration repo" special_time=daily job="cd {{ r_connector_rprofile_path }} ; svn update >/dev/null 2>&1" cron: name="Update the RStudioConfiguration repo" special_time=daily job="cd {{ r_connector_rprofile_path }} ; svn update >/dev/null 2>&1"
@ -103,7 +103,7 @@
become: True become: True
become_user: '{{ smartgears_user }}' become_user: '{{ smartgears_user }}'
when: r_connector_install when: r_connector_install
tags: [ 'smartgears', 'r_connector', 'tomcat' ] tags: [ 'r_connector' ]
- block: - block:
# Additional fuse packages # Additional fuse packages

View File

@ -9,7 +9,7 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: not sdi_service_install when: not sdi_service_install
tags: [ 'smartgears', 'sdi_service', 'tomcat' ] tags: [ 'sdi_service' ]
- block: - block:
- name: Get the sdi-service - name: Get the sdi-service
@ -27,5 +27,5 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: sdi_service_install when: sdi_service_install
tags: [ 'smartgears', 'sdi_service', 'tomcat' ] tags: [ 'sdi_service' ]

View File

@ -9,7 +9,7 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: not sdmx_datasource_service_install when: not sdmx_datasource_service_install
tags: [ 'smartgears', 'sdmx_datasource_service', 'tomcat' ] tags: [ 'sdmx_datasource_service' ]
- block: - block:
- name: Get the sdmx_datasource-service - name: Get the sdmx_datasource-service
@ -27,5 +27,5 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: sdmx_datasource_service_install when: sdmx_datasource_service_install
tags: [ 'smartgears', 'sdmx_datasource_service', 'tomcat' ] tags: [ 'sdmx_datasource_service' ]

View File

@ -10,7 +10,7 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: not social_networking_library_ws_install when: not social_networking_library_ws_install
tags: [ 'smartgears', 'social_networking_library_ws', 'tomcat' ] tags: [ 'social_networking_library_ws' ]
- block: - block:
- name: Get the social-networking-library-ws war - name: Get the social-networking-library-ws war
@ -39,9 +39,9 @@
- name: Install the socialnetworking web.xml - name: Install the socialnetworking web.xml
template: src=web.xml.j2 dest={{ smartgears_instance_path }}/webapps/{{ social_networking_library_ws_name }}/WEB-INF/web.xml template: src=web.xml.j2 dest={{ smartgears_instance_path }}/webapps/{{ social_networking_library_ws_name }}/WEB-INF/web.xml
notify: Restart smartgears notify: Restart smartgears
tags: [ 'social_networking_library_ws', 'socialnetworking_webxml', 'tomcat' ] tags: [ 'social_networking_library_ws', 'socialnetworking_webxml' ]
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: social_networking_library_ws_install when: social_networking_library_ws_install
tags: [ 'smartgears', 'social_networking_library_ws', 'tomcat' ] tags: [ 'social_networking_library_ws' ]

View File

@ -9,7 +9,7 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: not spd_service_install when: not spd_service_install
tags: [ 'smartgears', 'spd_service', 'tomcat' ] tags: [ 'spd_service' ]
- block: - block:
- name: Get the spd-service - name: Get the spd-service
@ -27,5 +27,5 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: spd_service_install when: spd_service_install
tags: [ 'smartgears', 'spd_service', 'tomcat' ] tags: [ 'spd_service' ]

View File

@ -12,7 +12,7 @@
become: True become: True
become_user: '{{ smartgears_user }}' become_user: '{{ smartgears_user }}'
when: not storage_hub_install when: not storage_hub_install
tags: [ 'smartgears', 'storage_hub', 'tomcat' ] tags: [ 'storage_hub' ]
- block: - block:
- maven_artifact: artifact_id={{ storage_hub_name }} version={{ storage_hub_version | default(omit) }} group_id={{ storage_hub_group_id }} extension={{ storage_hub_extension | default('war') }} repository_url={{ smartgears_global_base_url }} dest={{ smartgears_downloads_dir }}/{{ storage_hub_file }} verify_checksum=always - maven_artifact: artifact_id={{ storage_hub_name }} version={{ storage_hub_version | default(omit) }} group_id={{ storage_hub_group_id }} extension={{ storage_hub_extension | default('war') }} repository_url={{ smartgears_global_base_url }} dest={{ smartgears_downloads_dir }}/{{ storage_hub_file }} verify_checksum=always
@ -66,5 +66,5 @@
become: True become: True
become_user: '{{ smartgears_user }}' become_user: '{{ smartgears_user }}'
when: storage_hub_install when: storage_hub_install
tags: [ 'smartgears', 'storage_hub', 'tomcat' ] tags: [ 'storage_hub' ]

View File

@ -9,7 +9,7 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: not tabular_data_install when: not tabular_data_install
tags: [ 'smartgears', 'tabular_data', 'tomcat' ] tags: [ 'tabular_data' ]
- block: - block:
- name: Get the tabular-data-service - name: Get the tabular-data-service
@ -27,5 +27,5 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
when: tabular_data_install when: tabular_data_install
tags: [ 'smartgears', 'tabular_data', 'tomcat' ] tags: [ 'tabular_data' ]

View File

@ -9,7 +9,7 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
tags: [ 'smartgears', 'uri_resolver', 'tomcat' ] tags: [ 'uri_resolver' ]
when: not smartgears_uri_resolver_install when: not smartgears_uri_resolver_install
- block: - block:
@ -42,5 +42,5 @@
become: True become: True
become_user: '{{ d4science_user }}' become_user: '{{ d4science_user }}'
tags: [ 'smartgears', 'uri_resolver', 'tomcat' ] tags: [ 'uri_resolver' ]
when: smartgears_uri_resolver_install when: smartgears_uri_resolver_install