Ansible roles by Evolix
Find a file
2017-11-06 17:26:24 +01:00
amavis postfix: always include amavis and opendkim config when packmail 2017-10-27 14:23:35 +02:00
apache apache: fix usr rw remount 2017-10-31 15:28:42 +01:00
apt apt: use conditionnal instead of handler for update 2017-10-31 15:50:25 +01:00
bind Big review of role Bind, sync with https://wiki.evolix.org/HowtoBind 2017-07-22 18:40:00 +02: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 drbd: cleanup readme 2017-10-06 01:06:59 +02:00
elasticsearch Elasticsearch-head: no need to have a shell 2017-10-11 17:58:59 +02:00
etc-git etc-git: scope=local is not always supported 2017-09-29 12:01:06 +02:00
evoacme evoacme: add dovecot hook 2017-11-06 11:04:26 +01:00
evocheck Fix remount_usr_rw/yml 2017-10-11 17:58:18 +02:00
evolinux-base evolinux-base: harware tasks. Add http://hwraid.le-vert.net/debian repo 2017-10-26 15:07:28 +02:00
evolinux-users Don't add the trap if it is present or commented 2017-10-17 18:07:51 +02:00
evomaintenance evomainteance should not install the trap itself 2017-09-05 15:24:51 +02:00
fail2ban fail2ban: add roundcube filter 2017-10-25 12:12:18 +02:00
filebeat cleanup with dependencies on java8 2017-10-08 22:31:22 +02:00
generate-ldif Fix remount_usr_rw/yml 2017-10-11 17:58:18 +02:00
haproxy haproxy: add a Nagios check 2017-09-19 09:37:38 +02:00
java8 java8: we only need the headless variant 2017-10-08 22:33:49 +02:00
jenkins cleanup with dependencies on java8 2017-10-08 22:31:22 +02:00
kibana Fix remount_usr_rw/yml 2017-10-11 17:58:18 +02:00
kvm-host kvm-host: move add-vm.sh script into another GIT repository 2017-10-26 17:19:04 +02:00
ldap ldap: fix domain and cn 2017-11-06 17:26:24 +01:00
listupgrade chmod 700 /etc/evolinux 2017-10-17 18:08:18 +02:00
logstash cleanup with dependencies on java8 2017-10-08 22:31:22 +02: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
minifirewall Minifirewall can deal with evomaintenance 2017-10-08 00:00:24 +02:00
mongodb MongoDB: fix syntax mistake 2017-09-04 17:17:51 +02: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 mysql: add more Munin plugins 2017-10-20 10:25:34 +02:00
nagios-nrpe nagios-nrpe: add check for imapproxy 2017-10-25 11:55:35 +02: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 nginx: fix ip filtering in default vhost 2017-10-12 15:38:07 +02:00
nodejs download gpg in repo, we want to be independant from network as possible 2017-08-23 02:50:17 +02:00
ntpd remove interface ignore wildcard because it breaks ntp sync with external servers 2017-09-14 19:09:22 +02:00
opendkim opendkim: deploy script for add DKIM domain 2017-10-27 16:04:59 +02: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: fix right on custom conf files 2017-10-16 17:46:55 +02:00
postfix postfix: mount usr in rw before copy spam.sh 2017-10-31 15:17:27 +01:00
postgresql postgresql: Add missing package, libdbd-pg-perl needed by munin-plugins 2017-10-20 11:15:19 +02:00
proftpd proftpd: add default_address + port 2017-11-03 13:54:23 +01:00
rabbitmq Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
rbenv rbenv: add "gem: --no-document" 2017-05-23 15:14:39 +02:00
redis Redis: Ensure that we do not modify munin-node config if there is multiple redis config blocs 2017-10-03 10:21:13 +02:00
redmine redmine: set loglevel to warn 2017-10-30 11:46:35 +01:00
spamassasin spamassasin: mount usr in rw before copy sa-update.sh 2017-10-31 15:13:58 +01:00
squid Squid: restart minifirewall if needed 2017-09-20 10:30:24 +02:00
supervisord supervisord: don't overwrite existing http.conf 2017-06-12 19:38:24 +02:00
tomcat tomcat: disable default tomcat7 service 2017-07-06 12:42:08 +02:00
tomcat-instance tomcat-instance: default rng set to /dev/urandom 2017-07-13 13:51:15 +02:00
unbound Delete OpenBSD stuff (mv to another repo), ansible-roles is now Linux-specific (even Debian-specific) 2017-08-29 03:09:57 +02:00
varnish Fix remount_usr_rw/yml 2017-10-11 17:58:18 +02:00
vrrpd Rename role "apt-repositories" to "apt" 2017-07-19 08:56:46 +02:00
webapps evoadmin-web: remove unnecessary flush_handlers 2017-10-31 15:55:43 +01:00
.gitignore gitignore cleanup 2017-07-03 18:24:13 +02: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

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.