Commit graph

3645 commits

Author SHA1 Message Date
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
Jérémy Lecour dc40993291 Use command instead of shell 2016-12-23 22:45:42 +01:00
Jérémy Lecour 66f5ae27c9 Store Nagios custom plugins in /etc by default 2016-12-23 20:05:56 +01:00
Jérémy Lecour 5bc88ae0f0 evolinux-base: fix /tmp rights 2016-12-23 20:05:06 +01:00
Jérémy Lecour 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
Jérémy Lecour 0cfcd31946 nagios-nrpe: TODO deal with read-only /usr 2016-12-23 16:24:56 +01:00
Jérémy Lecour e815a62112 minifirewall: git clone in /tmp
/usr is often mounted as read-only
2016-12-23 16:24:56 +01:00
Jérémy Lecour 38f962d754 evolinux-base: install apt hooks by default 2016-12-23 16:24:56 +01:00
Victor LABORIE c5424683c3 No interactive my-add.sh 2016-12-23 15:59:01 +01:00
Jérémy Lecour eb1a71f96c kvm-host: better syntax 2016-12-23 15:14:44 +01:00
Jérémy Lecour 7e9065e172 evolinux-base: the locales package might be missing 2016-12-23 14:12:13 +01:00
Jérémy Lecour a0a5920f99 evolinux-base: megacli packages are not authenticated 2016-12-23 14:11:11 +01:00
Sebastien Dubois 0ebd9cc147 guillemets manquants 2016-12-23 10:35:20 +01:00
Romain Dessort 5c9660bfdc Some fixes after Jérémy's review. 2016-12-22 12:18:55 -05:00
Romain Dessort c42a3e5610 Add postgresql role 2016-12-22 10:12:34 -05:00
Victor LABORIE 0ba65cbe05 Fix variable name 2016-12-22 15:58:45 +01:00
Jérémy Lecour b7be16e44b Rename role evolinux-admin_users → admin-users 2016-12-22 15:34:23 +01:00