Commit Graph

97 Commits

Author SHA1 Message Date
Roberto Cirillo ebd0162ed7 group_vars/dataminer_prototypes_ghost/dataminer_prototypes_ghost.yml added new scopes
group_vars/dm_pool_manager_proto/dm_pool_manager_proto.yml added new scopes
	   group_vars/smartgears_workspace/smartgears_workspace.yml added appender
	   ../library/roles/ansible_ppa/tasks/ansible-packages.yml added some cache options to ansible package task
	   ../library/roles/smartgears/dm_pool_manager/defaults/main.yml upgrade service version
	   ../library/roles/smartgears/dm_pool_manager/tasks/main.yml commented task for installing service.properties file
	   ../library/roles/smartgears/home_library/defaults/main.yml upgrade version
	   ../library/roles/smartgears/smartgears/defaults/main.yml upgrade version
	   ../library/roles/smartgears/tabular_data/defaults/main.yml upgrade version
2017-11-09 18:38:26 +01:00
Roberto Cirillo 30169b5998 ../library/roles/smartgears/smartgears/templates/logback.xml.j2 added AnalysisLogger appender for dataminer instances 2017-10-30 15:34:03 +01:00
Roberto Cirillo 37698dff6d group_vars/twittermon_dev/twittermon_dev.yml add smartgears_appender_list configuration
group_vars/twittermon_plugins/twittermon_plugins.yml add smartgears_appender_list configuration ans set smartgears_nginx_expose_tomcat_logs to True
../library/roles/smartgears/smartgears/templates/logback.xml.j2 add custom appenders configuration
../library/roles/smartgears/smartgears/tasks/smartgears-app.yml fix tag smartgears_conf
2017-10-25 17:49:42 +02:00
Andrea Dell'Amico 09aab98db3 library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Add a new tag, so that we can install the smartgears distribution without touching anything else. 2017-10-06 18:22:00 +02:00
Andrea Dell'Amico bb158fce51 library/roles/smartgears/smartgears/templates/get-scopes.j2: Do not fail when there is no token and the node must run on all the VOs. 2017-10-03 12:30:47 +02:00
Andrea Dell'Amico ad52aef235 get-scopes: Fix a typo. 2017-10-02 16:56:53 +02:00
Andrea Dell'Amico 280ed19764 library/roles/smartgears/smartgears/tasks/smartgears-app.yml: Fix the check that we use to find the distribution directory. 2017-10-02 15:20:10 +02:00
Andrea Dell'Amico 945c5a61ca smartgears: do not stop the service if it's the first installation. 2017-09-29 18:06:45 +02:00
Andrea Dell'Amico d3b6789fbb smartgears: Use the time and size logback appender by default. 2017-09-29 13:28:31 +02:00
Roberto Cirillo bc0c02c77b ../library/roles/smartgears/smartgears/defaults/main.yml update smartgears version 2017-09-29 12:53:51 +02:00
Andrea Dell'Amico 94fae10e18 smartgears: Set the real smartgears version into container.xml, when using 'latest' from maven. 2017-09-28 16:28:44 +02:00
Andrea Dell'Amico 7186cb3c1a smartgears: Try some workaround to be able to use 'latest' as a version. 2017-09-28 15:41:56 +02:00
Andrea Dell'Amico 436c7d6829 smartgears distribution: Use maven_artifact to download the distribution file. 2017-09-27 19:11:35 +02:00
Andrea Dell'Amico 2d909ff031 smartgears get-scopes: try to manage all the scenarios correctly. 2017-09-22 19:23:20 +02:00
Andrea Dell'Amico 1e5f6b6e30 data-transfer-service: expand the war file after the installation and setup the gcube-app.xml file. 2017-09-19 20:08:12 +02:00
Andrea Dell'Amico fc6688b26d smartgears data-transfer: expand the war file, because we need to put stuff inside. 2017-09-19 17:11:59 +02:00
Andrea Dell'Amico d7a12eb375 Change the nginx smartgears template to add opencpu as a special case. 2017-09-19 15:13:57 +02:00
Andrea Dell'Amico 25eebdf57f Fix a typo. 2017-09-15 13:02:18 +02:00
Andrea Dell'Amico ce44423955 library/roles/smartgears/smartgears/defaults/main.yml: add a default for the catalina (tomcat) tmp directory, so that we can change it when needed. 2017-09-15 12:52:03 +02:00
Andrea Dell'Amico 603cc237be Fix the downloads dir creation. The ownership must be assigned to the gcube user. 2017-09-14 17:41:52 +02:00
Andrea Dell'Amico ea49eb993a Move the data_transfer variables from the nginx role to the main smartgears one. 2017-09-14 17:23:17 +02:00
Andrea Dell'Amico 8687fdab47 Add new tags to the task that creates the downloads directory so that we can use it without running all the smartgears role. 2017-09-14 13:30:25 +02:00
Andrea Dell'Amico 704f990d5c Create a downloads directory inside the gcube home directory where to download all the smartgears related wars and jars. 2017-09-13 18:19:18 +02:00
Andrea Dell'Amico e9e8fa5c7c Fix the logback template when we use the SizeAndTimeBasedRollingPolicy, see https://support.d4science.org/issues/9576 2017-09-12 18:25:43 +02:00
Andrea Dell'Amico 7d1dda3e32 Fix a typo. 2017-09-12 15:59:56 +02:00
Andrea Dell'Amico 7ea507790f Change the default listen host for tomcat to 127.0.0.1.
Change the virtualhost filename to a fixed one plus a numeric ID. So if the hostname changes, we do not duplicate files.
2017-09-12 15:35:27 +02:00
Andrea Dell'Amico be5ff553de Restart the tomcat instance after a logback.xml update. 2017-09-05 13:09:16 +02:00
Andrea Dell'Amico 04c74c3e67 Add a variable to switch from a time based only logback appender to the new size and time based. The new one needs a logback version newer that the one currently installed. See https://support.d4science.org/issues/9599 2017-09-05 12:43:46 +02:00
Andrea Dell'Amico 30c4f0e415 smartgears: install the logback configuration from a template, if not instructed to use the old way. See https://support.d4science.org/issues/9576 2017-09-04 20:02:37 +02:00
Roberto Cirillo 7258e12d3b dm-pool-manager update version
smartgears update version
2017-09-04 12:00:05 +02:00
Andrea Dell'Amico 7ac767247f The NRPE handler will run a service restart and not a 'start'. 2017-08-28 19:54:14 +02:00
Andrea Dell'Amico defbf77503 Add a nagios NRPE handler to restart the tomcat instance when it dies. 2017-08-28 19:46:16 +02:00
Andrea Dell'Amico 47788be177 smartgears: Install the gcube root dev key in preprod too. 2017-07-20 17:41:42 +02:00
Roberto Cirillo f9b037000d Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-07-20 16:06:38 +02:00
Roberto Cirillo 7581efd1ec ../library/roles/smartgears/smartgears/defaults/main.yml update smartgears version 2017-07-20 16:05:47 +02:00
Andrea Dell'Amico 56eaf5e783 d4science-ghn-cluster/group_vars/all/gcube_vault_keys.yml library/roles/smartgears/dataminer_app/tasks/install-gcube-key.yml library/roles/smartgears/smartgears/tasks/install-gcube-keys.yml: New gcube keys. 2017-07-20 15:25:55 +02:00
Andrea Dell'Amico 1fc1d05687 library/roles/smartgears/smartgears-nginx-frontend: Fix the nginx template so that whn-manager is always added. See https://support.d4science.org/issues/9209 2017-07-07 13:42:33 +02:00
Roberto Cirillo 744c72e1b9 inventory/hosts.dev added EGI instances
roles/haproxy_frontend/templates/haproxy-dataminer.cfg.j2 added EGI instances
../library/roles/smartgears/smartgears/defaults/main.yml update smartgears distribution
2017-05-25 10:57:12 +02:00
Andrea Dell'Amico f4bbb267ab library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the case when we are upgrading but we cannot get the state from the IS. In that case, we request new tokens to the IS. 2017-05-11 17:45:23 +02:00
Andrea Dell'Amico 9f0f5309ba library/roles/smartgears/smartgears/defaults/main.yml: Add the smartgears_gcube_repository variable, see https://support.d4science.org/issues/8466 2017-05-09 17:29:53 +02:00
Roberto Cirillo a6927b06a2 ../library/roles/smartgears/smartgears/tasks/install-gcube-keys.yml added new VO keys 2017-04-28 17:23:53 +02:00
Roberto Cirillo 30adee8788 inventory/hosts.production host changed from sdi-p-d4s to sdi-d4s
../library/roles/smartgears/smartgears/defaults/main.yml fix sintax error
2017-04-28 17:14:08 +02:00
Roberto Cirillo 312ca95eec group_vars/all/gcube_vault_keys.yml added keys for new VOs Edison and SmartArea
./library/roles/smartgears/smartgears/defaults/main.yml added new VO definition for the following VOs Edison OpenAIRE
2017-04-28 11:09:45 +02:00
Andrea Dell'Amico 74482a285d library/roles/smartgears/smartgears/defaults/main.yml: Add a smartgears_global_base_url variable that can be used to replace the base URLs placed everywhere. 2017-04-20 16:56:48 +02:00
Andrea Dell'Amico 9d79eaa89a library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the get-scopes so that it requests tokens for the port 80 even when we redirect to https. 2017-04-12 15:34:41 +02:00
Andrea Dell'Amico 2238f7813c library/roles/smartgears/smartgears/templates/container.xml.j2: Do not set the https port if the https redirection is enabled. smartgears needs to still publish itself on port 80. 2017-04-11 17:37:50 +02:00
Andrea Dell'Amico 691b10ad28 library/roles/smartgears/{dataminer_app,smartgears}: Handle the SoBigData gcube key. 2017-03-29 17:32:05 +02:00
Andrea Dell'Amico c9a63a6330 library/roles/smartgears: Handle the case when we need VO level authorization. Use the locally saved scopes instead of the provided ones. See https://support.d4science.org/issues/7880 2017-03-28 20:19:36 +02:00
Andrea Dell'Amico 8c3a37c5bc library/roles/smartgears/smartgears: Changes to the container.xml template and to the default variables to manage the case when we need authorization for all the VREs. 2017-03-27 17:39:44 +02:00
Andrea Dell'Amico a129368684 library/roles/smartgears/smartgears/templates/tomcat-instance-default.j2: we can now add more environment variables to the file. 2017-03-23 17:33:43 +01:00