Ansible roles by Evolix
Go to file
Jérémy Lecour f531460f49 Use proper keyrings directory for APT version
Debian 9 → 11 : /etc/apt/trusted.gpg.d
Debian 12 : /etc/apt/keyrings
2022-11-02 23:16:32 +01:00
amavis replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
amazon-ec2 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
apache apache: block access to .git* and .env* files 2021-12-28 16:27:05 +01:00
apt Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
bind Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
bullseye-detect/tasks Revert "bullseye-detect: this role is obsolete, Debian 11 has been fully released" 2021-08-17 15:33:06 +02:00
certbot clean duplicate 2022-10-19 16:33:25 +02:00
clamav loop syntax and whitespaces 2021-08-27 11:01:28 +02:00
dhcpd Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
docker-host Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
dovecot Add Out of memory log2mail alert to dovecot role 2022-03-15 10:06:21 +01:00
drbd Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
elasticsearch Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
etc-git etc-git: release 22.05 of ansible-commit 2022-05-06 18:10:01 +02:00
evoacme evoacme: exclude renewal-hooks directory from cron 2021-10-05 08:28:47 +02:00
evobackup-client Enforce String notation for mode 2022-06-08 15:38:21 +02:00
evocheck evocheck: upstream release 22.09 2022-09-14 10:55:02 +02:00
evolinux-base Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
evolinux-todo evolinux-todo: execute tasks only for Debian distribution (because this task is a dependency for others roles used on different distributions) 2022-10-17 11:37:58 +02:00
evolinux-users evolinux-user: sudoers privileges for check php\fpm80 and 81 2022-10-07 14:16:32 +02:00
evomaintenance evomaintenance: upstream release 22.07 2022-07-27 15:49:41 +02:00
fail2ban fail2ban: fix dovecot-evolix regex syntax 2022-09-15 09:48:34 +02:00
filebeat Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
fluentd Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
generate-ldif [generate-ldif] Make MariaDB version detection more generic. 2022-08-29 17:28:57 +02:00
haproxy haproxy: Take into account haproxy_stats_path for munin 2022-08-10 10:24:55 +02:00
java java: use default JRE when version is not specified 2022-09-30 11:39:05 +02:00
jenkins Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
keepalived Enforce String notation for mode 2022-06-08 15:38:21 +02:00
kibana Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
kvm-host Fix depreciation of drbd-overview by drbdadm status 2022-07-05 10:16:47 +02:00
ldap We want LDAP listen on ldapi:/// by default 2021-07-08 19:22:00 +02:00
listupgrade listupgrade: old-kernel-removal version 21.10 2021-10-25 14:23:52 +02:00
logstash Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
lxc * lxc-solr : add comments 2022-09-26 23:48:05 +02:00
lxc-php Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
lxc-solr lxc-solr: use default JRE package 2022-09-30 11:39:50 +02:00
memcached memcached: multi instance check requires bash instead of sh 2022-09-01 15:48:15 +02:00
meta Add meta/main.yml file for ansible galaxy cloning 2017-11-14 22:16:17 +01:00
metricbeat Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
minifirewall minifirewall: whitelist deb.freexian.com 2022-10-03 18:54:29 +02:00
mongodb Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
monit Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
munin munin: Add ipmi_ plugins on dedicated hardware 2022-09-15 11:45:24 +02:00
mysql mysql: support for new Debian 11 conf for Munin 2022-08-29 18:05:57 +02:00
mysql-oracle add set crypt_use_gpgme=no Mutt option 2022-06-01 15:25:05 +02:00
nagios-nrpe nagios-nrpe: check_haproxy_stats supports DRAIN status 2022-10-20 15:46:04 +02:00
nameserver Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
networkd-to-ifconfig Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
newrelic Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
nginx nginx: Start server once. 2022-07-05 15:57:41 +02:00
nodejs Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
ntpd ntpd: Add leapfile configuration setting to ntpd on debian 10+ 2021-04-21 17:22:45 +02:00
opendkim Ajout opendkim-genkey en sha256 et taille clé 4096 2022-05-09 10:14:33 +02:00
openvpn openvpn: Run OpenVPN with the \_openvpn user and group instead of nobody which is originally for NFS 2022-09-06 11:27:20 +02:00
packweb-apache packweb-apache/files/userlogrotate: tfix (comments). 2022-07-19 17:24:04 +02:00
percona Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
php Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
postfix Homogénéisation du port OpenDKIM par défaut du rôle postfix avec celui du rôle OpenDKIM 2022-07-25 17:29:19 +02:00
postgresql Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
proftpd proftpd: Add a warning if config file was overriden 2022-09-13 16:31:03 +02:00
rabbitmq Ajouter check_rabbitmq pour Python 3 2022-08-01 17:43:00 +02:00
rbenv rbenv: install Ruby 3.1.0 by default 2022-01-28 16:27:20 +01:00
redis redis: variable to disable transparent hugepage (default: do nothing) 2022-10-20 14:38:12 +02:00
redmine Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
remount-usr remount-usr: use findmnt to find if usr is a readonly partition 2022-01-27 11:21:19 +01:00
spamassasin remove whitespace for stream redirection 2021-06-28 15:56:19 +02:00
squid squid: whitelist deb.freexian.com 2022-10-03 18:54:05 +02:00
ssl remove whitespace for stream redirection 2021-06-28 15:56:19 +02:00
supervisord Improve Ansible syntax 2021-05-09 23:06:42 +02:00
tomcat Tomcat 9 by default with Debian 11 2022-04-08 11:57:35 +02:00
tomcat-instance Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
unbound whitespaces 2019-05-14 14:03:03 +02:00
varnish varnish: fix tags and variables 2022-11-02 22:32:56 +01:00
vrrpd vrrpd: Fix systemd service name file 2022-08-24 17:57:27 +02:00
webapps webapp/nextcloud: Updates on vhost 2022-09-02 10:25:22 +02:00
.Jenkinsfile Revert "CI: Handle [ci skip] keyword" 2022-08-03 13:55:39 +02:00
.gitignore git ignore .swp files 2019-10-11 21:27:01 +02:00
CHANGELOG.md Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01: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 Mention the CHANGELOG in the README 2021-02-04 11:13:05 +01:00
evolix Revert "Suppression lien symbolique boucle récursive (créé par Victor en mars 2018)" 2022-05-25 09:37:46 +02: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.

All modifications should be documented in the CHANGELOG file, to help review releases. We encourage atomic commits, on a single role, and with the CHANGELOG in the same commit.

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.