Ansible roles by Evolix
Go to file
Gregory Colpart 7deee9b1e6
continuous-integration/drone/push Build is passing Details
modifications variables
2019-10-24 15:12:55 +02:00
amavis Hot fix: remove .conf suffix because Amavis don't read it! 2018-08-20 22:25:06 +02:00
amazon-ec2 whitespaces 2018-04-04 23:21:31 +02:00
apache apache: Add missing part for munin cgi 2019-07-03 11:56:51 +02:00
apt apt: check if cron is installed before adding a cron job 2019-09-30 14:12:38 +02:00
bind all-roles: Dot not use ansible_lsb as it is deprecated 2019-07-03 09:41:35 +02:00
certbot improve hooks maintainability 2019-09-27 14:03:39 +02:00
clamav whitespaces 2018-04-04 23:21:31 +02:00
dhcpd change repositories URL 2019-03-21 15:31:58 +01:00
docker-host all-roles: Dot not use ansible_lsb as it is deprecated 2019-07-03 09:41:35 +02:00
dovecot dovecot: stronger TLS configuration 2018-09-11 11:13:02 +02:00
drbd change repositories URL 2019-03-21 15:31:58 +01:00
elasticsearch Add crontabs only when cron package is installed (many roles) 2019-10-21 15:26:03 +02:00
etc-git Add crontabs only when cron package is installed (many roles) 2019-10-21 15:26:03 +02:00
evoacme all-roles: Dot not use ansible_lsb as it is deprecated 2019-07-03 09:41:35 +02:00
evocheck Add crontabs only when cron package is installed (many roles) 2019-10-21 15:26:03 +02:00
evolinux-base Add crontabs only when cron package is installed (many roles) 2019-10-21 15:26:03 +02:00
evolinux-todo change repositories URL 2019-03-21 15:31:58 +01:00
evolinux-users all-roles: Dot not use ansible_lsb as it is deprecated 2019-07-03 09:41:35 +02:00
evomaintenance evomaintenance: upstream version 0.5.1 2019-08-21 15:40:15 +02:00
fail2ban fail2ban: For sshd jail, protect 2222 port too 2019-03-22 11:39:20 +01:00
filebeat change repositories URL 2019-03-21 15:31:58 +01:00
fluentd all-roles: Dot not use ansible_lsb as it is deprecated 2019-07-03 09:41:35 +02:00
generate-ldif whitespaces 2019-09-02 10:39:49 +02:00
haproxy haproxy: add another variable for configuration 2019-10-11 21:24:32 +02:00
java all-roles: Dot not use ansible_lsb as it is deprecated 2019-07-03 09:41:35 +02:00
jenkins change repositories URL 2019-03-21 15:31:58 +01:00
kibana change repositories URL 2019-03-21 15:31:58 +01:00
kvm-host Add vlan package 2019-06-05 17:58:11 +02:00
ldap change repositories URL 2019-03-21 15:31:58 +01:00
listupgrade listupgrade: install old-kernel-autoremoval script 2019-09-23 13:46:29 +02:00
logstash Add crontabs only when cron package is installed (many roles) 2019-10-21 15:26:03 +02:00
lxc lxc : add name of container in task names 2019-10-21 15:26:03 +02:00
lxc-php lxc-php: refactor tasks for better maintainability 2019-10-21 15:26:03 +02:00
lxc-solr We want Solr to run on an alternative port 2019-07-04 12:37:53 +02:00
memcached change repositories URL 2019-03-21 15:31:58 +01:00
meta Add meta/main.yml file for ansible galaxy cloning 2017-11-14 22:16:17 +01:00
metricbeat change repositories URL 2019-03-21 15:31:58 +01:00
minifirewall minifirewall: use systemctl is-enabled 2019-07-04 17:41:59 +02:00
mongodb mongodb: still incompatible with Debian 10 2019-09-23 22:18:52 +02:00
monit change repositories URL 2019-03-21 15:31:58 +01:00
munin change repositories URL 2019-03-21 15:31:58 +01:00
mysql Merge branch 'buster' into unstable 2019-09-23 18:34:35 +02:00
mysql-oracle mysql-oracle: backport tasks from mysql role 2019-10-21 16:32:59 +02:00
nagios-nrpe nagios-nrpe: Replace the dummy packages nagios-plugins-* with monitoring-plugins-* 2019-06-17 10:25:46 +02:00
nameserver Add nameserver role 2017-05-19 12:06:37 +02:00
networkd-to-ifconfig change repositories URL 2019-03-21 15:31:58 +01:00
newrelic change repositories URL 2019-03-21 15:31:58 +01:00
nginx nginx: fix munin fcgi not working (missing chmod 660 on logs) 2019-08-22 15:14:36 +02:00
nodejs all-roles: Dot not use ansible_lsb as it is deprecated 2019-07-03 09:41:35 +02:00
ntpd * ntpd: Update the restrictions to follow wiki.evolix.org/HowtoNTP client config 2019-01-18 15:32:45 +01:00
opendkim Set correct permissions on folder /etc/opendkim and add package dns-root-data in dependencies 2019-03-27 14:49:19 +01:00
packweb-apache Merge branch 'buster' into unstable 2019-09-23 18:34:35 +02:00
percona all-roles: Dot not use ansible_lsb as it is deprecated 2019-07-03 09:41:35 +02:00
php php: Don't set a chroot for the default fpm pool 2019-10-16 15:59:33 +02:00
postfix Add crontabs only when cron package is installed (many roles) 2019-10-21 15:26:03 +02:00
postgresql all-roles: Dot not use ansible_lsb as it is deprecated 2019-07-03 09:41:35 +02:00
proftpd change repositories URL 2019-03-21 15:31:58 +01:00
rabbitmq change repositories URL 2019-03-21 15:31:58 +01:00
rbenv rbenv: install Ruby 2.6.5 by default 2019-10-22 15:03:45 +02:00
redis modifications variables 2019-10-24 15:12:55 +02:00
redmine redmine: fix 500 error on logging 2019-05-29 11:49:10 +02:00
remount-usr remount-usr: mount doesn't report a change 2018-08-06 15:01:52 +02:00
spamassasin Add crontabs only when cron package is installed (many roles) 2019-10-21 15:26:03 +02:00
squid squid: install systemd unit and restart only if needed 2019-09-23 21:58:08 +02:00
ssl whitespaces 2019-04-25 13:36:25 +02:00
supervisord Supervisor: handlers name + tags 2017-11-13 17:48:50 +01:00
tomcat tomcat: fix typo for default tomcat_version 2019-07-12 15:29:05 +02:00
tomcat-instance whitespaces 2019-05-14 14:03:03 +02:00
unbound whitespaces 2019-05-14 14:03:03 +02:00
varnish remove reload-vcl.sh (Custom Varnish ExecReload script) when Debian >= 10 2019-09-24 14:00:22 +02:00
vrrpd change repositories URL 2019-03-21 15:31:58 +01:00
webapps evoadmin-web: Put the php config at the right place for Buster 2019-10-02 15:48:03 +02:00
.drone.yml Add DroneCI config for build Docker image 2019-06-17 14:06:13 +02:00
.gitignore git ignore .swp files 2019-10-11 21:27:01 +02:00
CHANGELOG.md rbenv: install Ruby 2.6.5 by default 2019-10-22 15:03:45 +02:00
Dockerfile Change Dockerfile Workdir to /data 2019-06-17 14:31:01 +02:00
LICENSE Add the GPLv2 licence 2017-01-05 18:22:06 +01:00
README.md change repositories URL 2019-03-21 15:31:58 +01:00
evolix Add an evolix symlink for prefixed roles 2018-03-20 13:32:38 +01:00
java8 java: support for Oracle JRE 2018-06-11 10:39:52 +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://gitea.evolix.org/evolix/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://gitea.evolix.org/evolix/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://gitea.evolix.org/evolix/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.