Ansible roles by Evolix
Go to file
Jérémy Lecour fbd4e741a0 Merge branch 'unstable' into stable 2017-11-21 16:58:49 +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 Combine evolix and additional trusted IP addresses 2017-11-15 23:57:58 +01:00
apt add name for some fail modules 2017-11-21 10:17:46 +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 Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
elasticsearch Elasticsearch: daily job for log rotation 2017-11-14 11:07:06 +01:00
etc-git etc-git: scope=local is not always supported 2017-09-29 12:01:06 +02:00
evoacme evoacme: remove $() 2017-11-21 16:17:21 +01:00
evocheck Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
evolinux-base add name for some fail modules 2017-11-21 10:17:46 +01:00
evolinux-users Don't add the trap if it is present or commented 2017-10-17 18:07:51 +02:00
evomaintenance Combine evolix and additional trusted IP addresses 2017-11-15 23:57:58 +01:00
fail2ban Combine evolix and additional trusted IP addresses 2017-11-15 23:57:58 +01:00
filebeat Elastic: fix source list filename 2017-11-14 10:26:48 +01:00
generate-ldif Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01: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 kibana: use the right argument :/ 2017-11-17 11:30:34 +01:00
kvm-host Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
ldap ldap: fix domain and cn 2017-11-06 17:26:24 +01:00
listupgrade Revert "listupgrade: add missing include remount-usr role" 2017-11-14 16:17:13 +01:00
logstash logstash: daily job for log rotation 2017-11-14 11:07:13 +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 Combine evolix and additional trusted IP addresses 2017-11-15 23:57:58 +01: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: better support for check mode 2017-11-14 09:39:24 +01:00
nagios-nrpe Combine evolix and additional trusted IP addresses 2017-11-15 23:57:58 +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 Combine evolix and additional trusted IP addresses 2017-11-15 23:57:58 +01: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 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: fix right on custom conf files 2017-10-16 17:46:55 +02:00
postfix Postfix: extract main.cf md5sum into variables 2017-11-15 12:13:50 +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: add missing tags 2017-11-15 11:29:22 +01:00
redmine redmine: set loglevel to warn 2017-10-30 11:46:35 +01:00
remount-usr remount-usr: quote commands 2017-11-15 12:21:30 +01:00
spamassasin spamassassin: quote command 2017-11-15 12:22:50 +01:00
squid Squid: restart minifirewall if needed 2017-09-20 10:30:24 +02:00
supervisord Supervisor: handlers name + tags 2017-11-13 17:48:50 +01:00
tomcat Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01: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 Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
vrrpd Rename role "apt-repositories" to "apt" 2017-07-19 08:56:46 +02:00
webapps roundcube: add link in default site index 2017-11-07 18:14:03 +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

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.