Commit graph

156 commits

Author SHA1 Message Date
56e42aa63a tomcat-instance: set JAVA_HOME in env conf file 2017-01-03 17:21:35 +01:00
e1654414ea evolinux-base: flush handlers at end of each include 2017-01-03 17:02:23 +01:00
91c8fad950 Extract logrotate configurations in roles 2017-01-03 16:58:19 +01:00
130e1f2b0e evolinux-base: add conditions for most of tasks 2017-01-03 16:38:04 +01:00
475ccf3bd1 amin-users: fix perms on sudoers file 2017-01-03 16:38:04 +01:00
04ccca18f2 init tomcat-instance role 2017-01-03 12:41:22 +01:00
e2460c10d1 evolinux-base: tasks groups disabling 2017-01-03 12:11:01 +01:00
17ed9bc28e evolinux-base: SSH MatchAddress skips when empty array 2017-01-03 11:44:20 +01:00
ead09ad4e8 evolinux-base: apt upgrade can be disabled 2017-01-03 11:43:31 +01:00
15d1b4d6fe MySQL: enable/disable optimize script in weekly crontab 2017-01-03 09:39:31 +01:00
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
5bad738df9 evolinux-base : add some tags 2016-12-30 10:40:59 +01:00
25e69efd24 evolinux_base: configure /etc/mailname with current FQDN 2016-12-30 10:40:44 +01:00
8a20ec5ca2 evolinux_base/postfix: add some variables
* myhostname
* mydestination
* myorigin
2016-12-30 10:40:18 +01:00
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
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
b7afc859b8 evolinux-base: configure listchanges in packages.yml 2016-12-28 15:15:09 +01:00
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
3f2fe68189 evolinux-base: remove 127.0.1.1 unconditionally 2016-12-27 18:40:24 +01:00
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
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
4b9d5bf6fd rabbitmq: rename source file 2016-12-27 14:38:20 +01:00
29ea23247d evolinux-base: configure apt/listchanges 2016-12-27 14:33:21 +01:00
9d70892fea rabbitmq: copy config files if missing 2016-12-27 14:14:07 +01:00
d4c13747f3 rabbitmq: fix perms 2016-12-27 14:07:01 +01:00
65c57a61aa admin-users: AllowUsers + Match User 2016-12-27 14:04:12 +01:00
b2971d1f7d evolinux-base: add ssh.yml
* disable root login
* list authorized addresses
* disable AcceptEnv
2016-12-27 14:04:12 +01:00
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
497d90519e evolinux-base: don't overwrite alert5 init script 2016-12-26 12:11:46 +01:00
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
706d247360 evolinux-base: remove aptitude 2016-12-26 12:11:46 +01:00
2ee354cea3 etc-git: secure /etc/.git 2016-12-26 12:11:46 +01:00
001b58e1fe evolinux-base: fix /var/tmp mount point 2016-12-26 12:11:46 +01:00
adedad0403 postgresql: regexp for NRPE check lininfile 2016-12-23 22:50:36 +01:00
d0314264df postgresql: explicit become 2016-12-23 22:50:19 +01:00
dc40993291 Use command instead of shell 2016-12-23 22:45:42 +01:00
66f5ae27c9 Store Nagios custom plugins in /etc by default 2016-12-23 20:05:56 +01:00
5bc88ae0f0 evolinux-base: fix /tmp rights 2016-12-23 20:05:06 +01:00
ecf20b436b drbd-utils/kvm-host: store plugins in /etc/munin/plugins
Let's keep /usr alone and save our custom plugins in /etc
until we decide on a better convention.
2016-12-23 18:59:14 +01:00
0cfcd31946 nagios-nrpe: TODO deal with read-only /usr 2016-12-23 16:24:56 +01:00