Commit Graph

1721 Commits

Author SHA1 Message Date
Andrea Dell'Amico 8227a2462a Fix some typos in the global variables and the templates. 2018-05-15 18:27:37 +02:00
Andrea Dell'Amico 5aaf0e8968 powerdns: manage the configuration for both the master and the slave. 2018-05-15 16:12:47 +02:00
Andrea Dell'Amico 79b6cac7e9 library/roles/postfix-relay/templates/mailname.j2: Forgot to add the template. 2018-05-15 14:54:06 +02:00
Andrea Dell'Amico 38e2cde356 Make the mongodb-org-3.2 more generic (it should be renamed too) 2018-05-09 18:19:43 +02:00
Andrea Dell'Amico 91485d7049 Use a conditional to install/remove the cron job that restarts the slapd service daily. 2018-05-08 20:57:00 +02:00
Andrea Dell'Amico 5e12af6402 Do not restart the ldap service when a certificate is being renewed. Search for a better solution. 2018-05-08 20:39:22 +02:00
Andrea Dell'Amico 7d707c10c0 Fix a task name. 2018-05-08 20:38:34 +02:00
Andrea Dell'Amico 3f720c9b7a Fix the openldap letsencrypt hook. 2018-05-08 20:07:41 +02:00
Andrea Dell'Amico a018f64c49 Install the powerdns db backend when requested only. Add a role that installs the db schema. Configure the db server. 2018-05-08 18:52:04 +02:00
Andrea Dell'Amico 9c17782abe Initial parts of a powerdns role for the authoritative server 2018-05-07 19:07:21 +02:00
Andrea Dell'Amico 71f2fcd730 library/roles/postfix-relay/templates/main.cf.j2: Fix the postfix template when using letsencrypt certificates. 2018-05-07 15:55:38 +02:00
Andrea Dell'Amico 5d2b5e6f1c Install dnsutils to ensure dig is available. 2018-05-05 19:59:22 +02:00
Andrea Dell'Amico 447dcebc5f library/roles/keepalived/files/check_keepalived_state: Fix the keepalived nagios check. 2018-05-04 20:05:15 +02:00
Andrea Dell'Amico 4587971a12 library/roles/nagios/templates/common-nrpe.cfg.j2: Fix a typo. 2018-05-04 20:02:36 +02:00
Andrea Dell'Amico 3ef6eaf3a9 The resolv.conf file is now parametric. 2018-05-04 19:47:39 +02:00
Andrea Dell'Amico f3ad3c6bab Role that installs and configure the unbound resolver. 2018-05-04 19:47:14 +02:00
Andrea Dell'Amico 7fac63e071 Fix the nagios check for the swap space on Ubuntu Xenial 2018-05-04 17:06:49 +02:00
Andrea Dell'Amico a7315ae537 Condition check, use the new syntax 2018-05-04 16:06:10 +02:00
Andrea Dell'Amico a709c56880 Postfix: support the letsencrypt certificates. 2018-05-04 16:03:34 +02:00
Andrea Dell'Amico 4912213694 library/roles/postfix-relay/tasks/postfix-relay-server.yml: Fix the saslauthd configuration on Ubuntu xenial. 2018-05-04 15:20:52 +02:00
Andrea Dell'Amico 92e71712bc Install postfix before iptables if we are going to configure a smtp server. 2018-05-04 13:27:31 +02:00
Andrea Dell'Amico 929fc8ceb7 ntp: install a configuration that makes the nagios check work. 2018-05-03 12:46:32 +02:00
Andrea Dell'Amico 5a0e5d1ea0 Add a fixed nagios memory check on Ubuntu 16.04 2018-05-03 12:23:34 +02:00
Andrea Dell'Amico ffc72e6f4f library/roles/iptables/defaults/main.yml: Use the default interface as the NAT output one. Do not pretend that is always eth0 2018-05-02 18:15:26 +02:00
Andrea Dell'Amico b79034e490 library/roles/ubuntu-deb-general/files/resolv.conf: Update the resolv.conf file. 2018-05-02 12:58:15 +02:00
Andrea Dell'Amico 3ccfd6424a Give the gcube user the possibility to write into the nginx root directory. 2018-05-02 12:00:57 +02:00
Andrea Dell'Amico 0e6d107a50 Fix in the algorithms-updater the check for a already running instance. 2018-04-26 15:51:35 +02:00
Andrea Dell'Amico b0d65d4a17 nginx-virthost: Fix a problem with the websockets configuration. 2018-04-23 17:48:57 +02:00
Andrea Dell'Amico 1ab0f69b05 Zeppelin: setup the environment for spark2 when spark2 is present. 2018-04-23 12:34:21 +02:00
Andrea Dell'Amico baf6caa8f2 library/roles/iptables/tasks/main.yml: Fix a installed vs present option. 2018-04-21 13:25:45 +02:00
Andrea Dell'Amico 31097d5d15 Add a reload option to the prometheus systemd unit. 2018-04-20 14:18:52 +02:00
Andrea Dell'Amico 725964d36a Fix the prometheus default configuration template. Fix the systemd unit file. 2018-04-20 12:09:56 +02:00
Andrea Dell'Amico f5b5e06629 systemd unit for the prometheus server. Also, do not overwrite the configuration file. 2018-04-19 19:48:50 +02:00
Andrea Dell'Amico 6e6850d139 library/roles/ubuntu-deb-general/tasks/main.yml: Fix a typo. 2018-04-19 17:51:49 +02:00
Andrea Dell'Amico 326466f8f8 Remove the tasks that install nscd for dataminer. Now they are global. 2018-04-19 17:48:27 +02:00
Andrea Dell'Amico 4f0d6b582e Add tasks to install nscd if needed. 2018-04-19 17:48:06 +02:00
Andrea Dell'Amico 60dd80953b library/roles/ubuntu-deb-general: Fix the apt parameters. The old ones are going to be deprecated. 2018-04-19 14:38:29 +02:00
Andrea Dell'Amico bc2ac5b7bf library/roles/conda/tasks/main.yml: Try to fix the task that installs a conda environment. 2018-04-18 18:17:46 +02:00
Andrea Dell'Amico e3d5ee5eb9 Fix the conda installation script. It seems that there is a new version that fails to create a directory. 2018-04-18 16:42:47 +02:00
Andrea Dell'Amico e31fe269d9 library/roles/python-env/tasks/main.yml: Fix a typo. 2018-04-18 16:42:26 +02:00
Andrea Dell'Amico 1857fe192e Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2018-04-18 16:41:34 +02:00
Andrea Dell'Amico 3ba1068059 Create a directory that the conda installer fails to create by itself. 2018-04-18 16:41:10 +02:00
Andrea Dell'Amico a20e9a357f library/roles/python-env/tasks/main.yml: Install a specific version of tornado to not break dependencies. 2018-04-18 16:24:25 +02:00
Andrea Dell'Amico 8bd1a6c108 Fix the python-env role. Some new dependencies broke it. 2018-04-18 16:16:30 +02:00
Andrea Dell'Amico 5d1ece1c20 Add a task that runs a dist-upgrade on request (need to pass 'dist_upgrade=True' to the playbook. 2018-04-18 15:37:41 +02:00
Andrea Dell'Amico d8b613a7f2 templates to configure zeppelin. 2018-04-17 19:44:25 +02:00
Andrea Dell'Amico a4010fd63b Fix the upstart script for zeppelin so that it creates the temporary directory. 2018-04-17 19:44:25 +02:00
Tommaso Piccioli a00237de06 postgres backup, cleanup fixed 2018-04-16 17:09:18 +02:00
Andrea Dell'Amico 2681156ce2 Add haproxy support for some services. 2018-04-14 18:25:10 +02:00
Andrea Dell'Amico ee8ceb8978 library/roles/hadoop/CDH: zeppelin wants to write inside its conf directory. Added a systemd startup script. 2018-04-13 14:49:43 +02:00