Ansible roles by Evolix
Go to file
Benoît S. 952b0d4521 squid: Update regex for sa-update domains.
List of domains is like:

http://sa-update.dnswl.org/ weight=3

http://www.sa-update.pccc.com/ weight=5

http://sa-update.secnap.net/ weight=5

http://sa-update.space-pro.be/ weight=1

http://sa-update.ena.com/ weight=5

http://sa-update.razx.cloud/ weight=5

http://sa-update.fossies.org/ weight=1

http://sa-update.verein-clean.net/ weight=10

http://sa-update.bitwell.fi/ weight=5

http://sa-update.spamassassin.org/ weight=10

They all start sa-update.*, except for http://www.sa-update.pccc.com/.
In that case, we just match sa-update on the domain name.
2020-08-21 14:51:30 +02:00
amavis replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
amazon-ec2 Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
apache Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
apt Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
bind Merge branch 'bind9_evocheck_fix' into unstable 2020-03-10 13:48:52 -04:00
certbot certbot: detect HAProxy cert directory 2020-08-21 14:51:30 +02:00
clamav Suppression du paquet zoo 2020-02-27 15:00:32 +01:00
dhcpd change repositories URL 2019-03-21 15:31:58 +01:00
docker-host Change "|changed" with "is changed" 2019-12-31 16:18:56 +01:00
dovecot Add names to many blocks 2019-12-31 16:56:03 +01:00
drbd replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
elasticsearch elaticsearch: Java version is not forced to 8 anymore 2020-03-21 19:07:26 +01:00
etc-git Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
evoacme evoacme: read values from environment before defaults file 2020-08-21 14:51:30 +02:00
evobackup-client evobackup-client: Fix ssh connection test in zzz_evobackup.sh 2020-08-21 14:51:30 +02:00
evocheck evocheck: upstream version 20.04.4 2020-04-28 16:00:45 +02:00
evolinux-base evolinux-base: check_hpraid cron: Add -p 2020-08-21 14:51:30 +02:00
evolinux-todo Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
evolinux-users Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
evomaintenance evomaintenance: install the embedded script by default 2020-03-21 19:07:26 +01:00
fail2ban trailing space 2020-04-11 12:31:41 +02:00
filebeat Add names to many blocks 2019-12-31 16:56:03 +01:00
fluentd fluentd: store gpg key locally 2019-06-21 10:29:18 +02:00
generate-ldif Change "|search" with "is search" 2019-12-31 16:18:56 +01:00
haproxy haproxy: deport SSL tuning to Mozilla SSL generator 2020-08-21 14:51:30 +02:00
java java: add Java 11 as possible version to install 2020-03-21 19:07:26 +01:00
jenkins Add evolix prefix to role dependencies 2019-11-29 14:19:52 +01:00
kibana Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
kvm-host Add names to many blocks 2019-12-31 16:56:03 +01:00
ldap replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
listupgrade explicit "force: no" for consistency 2020-04-15 10:04:13 +02:00
logstash Add evolix prefix to role dependencies 2019-11-29 14:19:52 +01:00
lxc lxc: install apparmor on Debian 10 2020-04-17 15:57:22 +02:00
lxc-php lxc-php: Do --no-install-recommends for ssmtp/opensmtpd 2020-08-21 14:51:30 +02:00
lxc-solr Switch to Solr 8.4.1 2020-02-25 10:15:56 +01:00
memcached Fix task when memcached_instance_name 2020-04-23 12:01:01 +02: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: /bin/true command doesn't report "changed" anymore 2020-05-11 15:23:52 +02:00
mongodb mongodb: fix logrotate patterm on Debian buster 2020-08-21 14:51:30 +02:00
monit change repositories URL 2019-03-21 15:31:58 +01:00
munin Change "|search" with "is search" 2019-12-31 16:18:56 +01:00
mysql Fix variable par défaut manquante dans mysql 2020-08-21 14:51:30 +02:00
mysql-oracle Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
nagios-nrpe nagios-nrpe: check_hpraid: Update known working RAID controllers 2020-08-21 14:51:30 +02:00
nameserver Add nameserver role 2017-05-19 12:06:37 +02:00
networkd-to-ifconfig networkd-to-ifconfig: add variables for configuration by variables 2020-04-26 18:39:25 +02:00
newrelic change repositories URL 2019-03-21 15:31:58 +01:00
nginx nginx: read server-status values before changing the config 2020-08-21 14:51:30 +02:00
nodejs nodejs: change default version to 12 (new LTS) 2020-03-09 17:02:23 +01:00
ntpd * ntpd: Update the restrictions to follow wiki.evolix.org/HowtoNTP client config 2019-01-18 15:32:45 +01:00
opendkim Force owner opendkim for /etc/opendkim/ folder 2020-08-21 14:51:30 +02:00
packweb-apache packweb-apache: Install zip & unzip by default 2020-08-21 14:51:30 +02:00
percona Change "|changed" with "is changed" 2019-12-31 16:18:56 +01:00
php php: Don't disable putenv() by default in PHP settings 2020-08-21 14:51:30 +02:00
postfix replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
postgresql Set handler postgresql with systemctl daemon-reload 2020-03-09 18:04:22 +01:00
proftpd change repositories URL 2019-03-21 15:31:58 +01:00
rabbitmq replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
rbenv rbenv: change default Ruby version to 2.7.0 2020-03-09 17:02:23 +01:00
redis redis: raise an error is port 6379 is used in "instance" mode 2020-08-21 14:51:30 +02:00
redmine replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
remount-usr Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
spamassasin replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
squid squid: Update regex for sa-update domains. 2020-08-21 14:51:30 +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: package version derived from Debian version if missing 2019-12-31 16:43:51 +01:00
tomcat-instance Change "|changed" with "is changed" 2019-12-31 16:18:56 +01:00
unbound whitespaces 2019-05-14 14:03:03 +02:00
varnish varnish: fix start command when multiple addresses are present 2020-08-21 14:51:30 +02:00
vrrpd Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
webapps packweb-apache: Do the install & conffigure phpContainer script (instead of evoadmin-web role) 2020-04-08 17:54:43 +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 varnish: fix start command when multiple addresses are present 2020-08-21 14:51:30 +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.