Ansible roles by Evolix
Go to file
Victor LABORIE 2727a6dfa1 haproxy: add Munin graphes 2018-02-13 16:37:40 +01:00
amavis postfix: always include amavis and opendkim config when packmail 2017-10-27 14:23:35 +02:00
amazon-ec2 amazon-ec2: whitespaces 2017-11-21 15:04:05 +01:00
apache create server status parent directory if missing 2018-01-18 17:17:34 +01:00
apt add name for some fail modules 2017-11-21 10:17:46 +01:00
bind bind: keep 52 weeks of logs 2017-12-28 11:27:36 +01:00
clamav clamav: configure debconf before install packages 2017-10-25 11:55:34 +02:00
dhcpd Rename dhcp to dhcpd 2017-07-13 16:10:11 +02:00
docker-host Clean override of docker systemd unit 2017-09-29 09:31:52 -04:00
dovecot dovecot: login_max_processes_count is obsolete 2017-10-25 11:55:34 +02:00
drbd Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
elasticsearch elasticsearch: ES_TMPDIR variable for custom tmpdir 2018-02-07 17:36:04 +01:00
etc-git etc-git: add postfix db files in default gitignore 2018-02-04 16:42:10 +01:00
evoacme Keep read right on group for software with non-root access like OpenLDAP 2018-01-28 17:13:23 +01:00
evocheck evocheck: add tags 2018-01-18 17:05:51 +01:00
evolinux-base apache/nginx: server status suffix 2018-01-03 10:05:20 +01:00
evolinux-users evolinux-users: evomaintenance trap detection also with check_mode 2018-02-08 15:33:28 +01:00
evomaintenance evomaintenance: explicit quotes 2018-01-05 10:43:04 +01:00
fail2ban fail2ban: fix horrible typo, Python is not Ruby 2018-01-23 18:31:31 +01:00
filebeat elastic: option for stack main version 2017-11-26 12:32:12 +01:00
generate-ldif generate-ldif: add clamd service instead of clamav_db 2017-11-30 16:54:33 +01:00
haproxy haproxy: add Munin graphes 2018-02-13 16:37:40 +01:00
java8 java8: we only need the headless variant 2017-10-08 22:33:49 +02:00
jenkins jenkins: remember squid whitelist 2017-11-26 19:29:56 +01:00
kibana elastic: option for stack main version 2017-11-26 12:32:12 +01:00
kvm-host Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
ldap ldap|nagios-nrpe: use external file for NRPE credentials 2018-01-24 16:49:07 +01:00
listupgrade listupgrade: remount /usr as rw 2017-11-28 10:43:19 +01:00
logstash logstash: fix permissions on pipeline configuration 2017-12-04 16:01:33 +01:00
lxc Fix multiple bugs in lxc role after testing 2017-08-24 12:09:41 -04:00
memcached update title 2017-10-03 23:45:17 +02:00
meta Add meta/main.yml file for ansible galaxy cloning 2017-11-14 22:16:17 +01:00
minifirewall Add security-cdn.debian.org to HTTPSITES whitelist 2018-01-29 11:15:11 -05:00
mongodb mongodb: install python-pymongo for monitoring 2018-01-20 19:33:18 +01:00
monit minor fix: true -> True 2017-08-31 03:23:07 +02:00
munin Delete OpenBSD stuff (mv to another repo), ansible-roles is now Linux-specific (even Debian-specific) 2017-08-29 03:09:57 +02:00
mysql Added "The total blob data length" pattern 2017-12-04 11:22:03 +01:00
nagios-nrpe ldap|nagios-nrpe: use external file for NRPE credentials 2018-01-24 16:49:07 +01:00
nameserver Add nameserver role 2017-05-19 12:06:37 +02:00
newrelic Remove dynamic add of whitelist Squid proxy 2017-08-23 01:26:57 +02:00
nginx whitespaces 2018-02-08 11:11:47 +01:00
nodejs Revert "nodejs: add 3 tasks + install procedure" 2018-02-01 12:00:41 +01:00
ntpd Fix #2345 : apply fix for v4 *and* v6 for syntax bug in conf file 2017-12-06 20:38:25 +01:00
opendkim Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
packweb-apache packweb-apache: comment cron task instead of remove it and don't remove buildstatic.sh 2017-11-06 11:51:57 +01:00
php PHP: Install php-intl module (useful for modern frameworks) 2017-12-11 11:57:55 +01:00
postfix postfix: add lines in /etc/.gitignore 2018-02-04 11:49:14 +01:00
postgresql postgresql: use ".j2" extension for jinja templates 2018-02-04 11:39:59 +01:00
proftpd whitespaces 2017-12-04 13:50:26 +01:00
rabbitmq rabbitmq: add a munin plugin 2017-11-29 14:17:38 +01:00
rbenv Rbenv: use Ruby 2.5 by default 2017-12-27 15:36:25 +01:00
redis Redis: fix typo in shell command 2017-12-29 11:18:27 +01:00
redmine redmine: force xpath < 3.0.0 (for ruby 2.1 support) 2018-01-08 14:44:22 +01:00
remount-usr remount-usr: Add README 2017-11-27 14:21:36 +01:00
spamassasin packmail (postfix + spamassassin): fix cron.d spam and sa-update 2017-12-01 12:07:55 +01:00
squid squid: fix template path 2017-12-29 15:14:24 +01:00
supervisord Supervisor: handlers name + tags 2017-11-13 17:48:50 +01:00
tomcat tomcat: compatible with Tomcat7 and Tomcat8 2017-12-08 10:33:33 +01:00
tomcat-instance tomcat-instance: default rng set to /dev/urandom 2017-07-13 13:51:15 +02:00
unbound unbound: retrieve list of root DNS servers 2018-01-11 12:41:40 +01:00
varnish varnish: add a restart handler 2017-12-04 14:59:34 +01:00
vrrpd Rename role "apt-repositories" to "apt" 2017-07-19 08:56:46 +02:00
webapps evoadmin-mail: allow Expires rules in .htaccess 2018-01-30 15:55:06 +01:00
.gitignore gitignore cleanup 2017-07-03 18:24:13 +02:00
CHANGELOG.md nginx: fix basic auth for default vhost 2018-02-08 11:11:47 +01:00
LICENSE Add the GPLv2 licence 2017-01-05 18:22:06 +01:00
README.md ansible-roles is now only-Linux compatible, and add precision for compatibility (Debian 9 and accidentally Debian 8) 2017-08-18 02:58:26 +02:00

README.md

Ansible-roles

A repository for Ansible roles used by Evolix on Debian GNU/Linux 9 (stretch) servers. Few roles are also be compatible with Debian GNU/Linux 8 (jessie) servers.

It contains only roles, everything else is available at https://forge.evolix.org/projects/ansible-public

Branches

The stable branch contains roles that we consider ready for production.

The unstable branch contains not sufficiently tested roles (or evolutions on existing roles) that we don't consider ready for production yet.

Many feature branches may exist in the repository. They represent "work in progress". They may be used, for testing purposes.

Install and usage

First, check-out the repository :

$ cd ~/GIT/
$ git clone https://forge.evolix.org/projects/ansible-roles

Then, add its path to your ansible load path :

$ vim ~/.ansible.cfg
[defaults]
roles_path = $HOME/GIT/ansible-roles

Then, include roles in your playbooks :

- hosts: all
  gather_facts: yes
  become: yes
  roles:
    - etc-git
    - evolinux-base

Contributing

Contributions are welcome, especially bug fixes and "ansible good practices". They will be merged in if they are consistent with our conventions and use cases. They might be rejected if they introduce complexity, cover features we don't need or don't fit "style".

Before starting anything of importance, we suggest contacting us to discuss what you'd like to add or change.

Our conventions are available in the "ansible-public":https://forge.evolix.org/projects/ansible-public repository, in the CONVENTIONS.md file.

Workflow

The ideal and most typical workflow is to create a branch, based on the "unstable" branch. The branch should have a descriptive name (a ticket/issue number is great). The branch can be treated as a pull-request or merge-request. It should be propery tested and reviewed before merging into "unstable".

Changes that don't introduce significant changes — or that must go faster that the typical workflow — can be commited directly into "unstable".

Hotfixes, can be prepared on a new branch, based on "stable" or "unstable" (to be decided by the author). When ready, it can be merged back to "stable" for immediate deployment and to "unstable" for proper backporting.

Other workflow are not forbidden, but should be discussed in advance.