Commit Graph

3561 Commits

Author SHA1 Message Date
Victor LABORIE f748b54df4 tomcat-instance: always run shell check 2017-01-04 15:47:53 +01:00
Jérémy Lecour b49cd060eb admin-user: switch to a Dict for admin_users 2017-01-04 10:21:41 +01:00
Jérémy Lecour 0ff5467bce add a "reload sshd" handler 2017-01-04 10:21:41 +01:00
Victor LABORIE 3cb905714f tomcat-instance: add README.md 2017-01-03 17:22:49 +01:00
Victor LABORIE a9faeb7fbc Fix update after add backports 2017-01-03 17:21:35 +01:00
Victor LABORIE 56e42aa63a tomcat-instance: set JAVA_HOME in env conf file 2017-01-03 17:21:35 +01:00
Jérémy Lecour e1654414ea evolinux-base: flush handlers at end of each include 2017-01-03 17:02:23 +01:00
Jérémy Lecour 91c8fad950 Extract logrotate configurations in roles 2017-01-03 16:58:19 +01:00
Jérémy Lecour 130e1f2b0e evolinux-base: add conditions for most of tasks 2017-01-03 16:38:04 +01:00
Jérémy Lecour 475ccf3bd1 amin-users: fix perms on sudoers file 2017-01-03 16:38:04 +01:00
Victor LABORIE 04ccca18f2 init tomcat-instance role 2017-01-03 12:41:22 +01:00
Jérémy Lecour e2460c10d1 evolinux-base: tasks groups disabling 2017-01-03 12:11:01 +01:00
Jérémy Lecour 17ed9bc28e evolinux-base: SSH MatchAddress skips when empty array 2017-01-03 11:44:20 +01:00
Jérémy Lecour ead09ad4e8 evolinux-base: apt upgrade can be disabled 2017-01-03 11:43:31 +01:00
Jérémy Lecour 15d1b4d6fe MySQL: enable/disable optimize script in weekly crontab 2017-01-03 09:39:31 +01:00
Jérémy Lecour 35f423a869 etc-git: set user.email with sensible hostname 2017-01-03 09:20:39 +01:00
Gregory Colpart 6c5e880938 add slow_transport configuration for Postfix role
and disable Postfix customization in evolinux-base role
2017-01-02 01:14:18 +01:00
Gregory Colpart 786f48e7f3 init Postfix roles 2017-01-02 00:37:20 +01:00
Gregory Colpart 76fd99d283 Clean and prepare webapps role 2016-12-31 15:06:44 +01:00
Jérémy Lecour 5bad738df9 evolinux-base : add some tags 2016-12-30 10:40:59 +01:00
Jérémy Lecour 25e69efd24 evolinux_base: configure /etc/mailname with current FQDN 2016-12-30 10:40:44 +01:00
Jérémy Lecour 8a20ec5ca2 evolinux_base/postfix: add some variables
* myhostname
* mydestination
* myorigin
2016-12-30 10:40:18 +01:00
Jérémy Lecour 999e98cc29 HAProxy: packages only
This is just the foundation of a much more customized HAProxy role.
It barely installs the package and provides handlers
2016-12-29 17:25:01 +01:00
Gregory Colpart 860fd701d8 init new roles for webapps 2016-12-29 14:06:31 +01:00
Jérémy Lecour 001d066c38 evolinux-base: add /root/.selected_editor 2016-12-28 17:55:35 +01:00
Daniel Jakots e7287feb3f typo 2016-12-28 10:59:41 -05:00
Jérémy Lecour b7afc859b8 evolinux-base: configure listchanges in packages.yml 2016-12-28 15:15:09 +01:00
Jérémy Lecour 34669fdfd0 evolinux-base: configure tzdata 2016-12-28 15:06:56 +01:00
Gregory Colpart 4f97f17387 evolinux-base: disable deb-src repositories in sources.list 2016-12-27 20:55:17 +01:00
Gregory Colpart 6cdab4e68b evolinux-base: don't use /etc/apt/listchanges.conf before apt-listchanges install 2016-12-27 20:55:11 +01:00
Jérémy Lecour 3f2fe68189 evolinux-base: remove 127.0.1.1 unconditionally 2016-12-27 18:40:24 +01:00
Jérémy Lecour 6517a234d6 evolinux-base: fqdn replacement in /etc/hosts
If the FQDN changes, it is changed in /etc/hosts instead and not added
2016-12-27 16:45:46 +01:00
Jérémy Lecour b2c6847019 evolinux-base: apt/listchanges with lineinfile
Ansible < 2.1 puts an extra space around "="
It might be a problem for APT.

Until we can use Ansible >= 2.1 we use lineinfile instead
even if it less precise (doesn't manage sections)
2016-12-27 14:44:34 +01:00
Jérémy Lecour 4b9d5bf6fd rabbitmq: rename source file 2016-12-27 14:38:20 +01:00
Jérémy Lecour 29ea23247d evolinux-base: configure apt/listchanges 2016-12-27 14:33:21 +01:00
Jérémy Lecour 9d70892fea rabbitmq: copy config files if missing 2016-12-27 14:14:07 +01:00
Jérémy Lecour d4c13747f3 rabbitmq: fix perms 2016-12-27 14:07:01 +01:00
Jérémy Lecour 65c57a61aa admin-users: AllowUsers + Match User 2016-12-27 14:04:12 +01:00
Jérémy Lecour b2971d1f7d evolinux-base: add ssh.yml
* disable root login
* list authorized addresses
* disable AcceptEnv
2016-12-27 14:04:12 +01:00
Jérémy Lecour 542cc0ef33 evolinux-base: remove aptitude in apt.yml 2016-12-27 14:04:12 +01:00
Gregory Colpart 1bc9c7b08a lvm2 is not needed for basic kvm hypervisor 2016-12-26 22:51:42 +01:00
Gregory Colpart 5fb95a8685 add handlers for apache role 2016-12-26 20:43:42 +01:00
Gregory Colpart d8a40ce843 init role for rabbitmq 2016-12-26 20:41:04 +01:00
Jérémy Lecour 497d90519e evolinux-base: don't overwrite alert5 init script 2016-12-26 12:11:46 +01:00
Jérémy Lecour 65b9865510 evolinux-base: copy logorotate files
there was a syntax error, the source was copied inside the target
2016-12-26 12:11:46 +01:00
Jérémy Lecour 706d247360 evolinux-base: remove aptitude 2016-12-26 12:11:46 +01:00
Jérémy Lecour 2ee354cea3 etc-git: secure /etc/.git 2016-12-26 12:11:46 +01:00
Jérémy Lecour 001b58e1fe evolinux-base: fix /var/tmp mount point 2016-12-26 12:11:46 +01:00
Jérémy Lecour adedad0403 postgresql: regexp for NRPE check lininfile 2016-12-23 22:50:36 +01:00
Jérémy Lecour d0314264df postgresql: explicit become 2016-12-23 22:50:19 +01:00