Ansible roles by Evolix
Go to file
Mathieu Trossevin 93084d6ce8
nginx: Do not use spawn-fcgi for munin-graph
systemd provides already provides all the fonctionnalities of spawn-fcgi
with the exception of the possibility to spawn multiple process to a
single socket (it can be done using multiwatch though). So we might as
well use the fonctions provided by systemd instead of needing to install
a new package and add a layer of indirection in how the fastcgi service
is managed.

This make for a somewhat simpler service that can be started as an
unprivileged user.
2021-11-17 13:52:15 +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 Reduce verbosity 2021-07-02 21:08:07 +02:00
apt apt: use the new security repository for Bullseye 2021-08-16 14:12:31 +02: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 certbot: detect domains for SAN certificates 2021-10-14 17:38:42 +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 Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
dovecot Fix path to dhparam certificate 2021-09-21 15:55:25 +02:00
drbd Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
elasticsearch Remove embedded GPG keys only if legacy keyring is present 2021-07-04 22:08:47 +02:00
etc-git etc-git: better output detection 2021-10-12 18:23:50 +02:00
evoacme evoacme: exclude renewal-hooks directory from cron 2021-10-05 08:28:47 +02:00
evobackup-client remove whitespace for stream redirection 2021-06-28 15:56:19 +02:00
evocheck Fix evocheck_force_install VARIABLE IS NOT DEFINED (validé par jlecour) 2021-10-29 14:54:44 +02:00
evolinux-base evolinux-base: fix alert5.service dependency syntax 2021-10-29 07:52:38 +02:00
evolinux-todo Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
evolinux-users evolinux-users + nagios-nrpe: Add support for php-fpm80 in lxc 2021-10-20 15:59:20 +02:00
evomaintenance forgotten file 2021-08-30 09:26:04 +02:00
fail2ban Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
filebeat filebeat/metricbeat: version 7.x y default 2021-11-12 10:07:43 +01:00
fluentd Remove embedded GPG keys only if legacy keyring is present 2021-07-04 22:08:47 +02:00
generate-ldif generate-ldif: detect mdadm 2021-09-16 17:26:58 +02:00
haproxy Preliminary support for Bullseye 2021-07-02 20:58:09 +02:00
java loop syntax and whitespaces 2021-08-27 11:01:28 +02:00
jenkins Remove embedded GPG keys only if legacy keyring is present 2021-07-04 22:08:47 +02:00
keepalived Improve Ansible syntax 2021-05-09 23:06:42 +02:00
kibana Remove embedded GPG keys only if legacy keyring is present 2021-07-04 22:08:47 +02:00
kvm-host [kvmstats] Sort domain list 2021-10-28 10:27:44 +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 logstash: no more dependency on Java 2021-09-21 14:43:58 +02:00
lxc Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
lxc-php Add squid logrotate 2021-10-11 11:03:34 +02:00
lxc-solr loop syntax and whitespaces 2021-08-27 11:01:28 +02:00
memcached Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
meta Add meta/main.yml file for ansible galaxy cloning 2017-11-14 22:16:17 +01:00
metricbeat filebeat/metricbeat: version 7.x y default 2021-11-12 10:07:43 +01:00
minifirewall Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
mongodb Various changes on mongodb (support 5.0) + fixes & compatibility 2021-10-05 15:49:47 +02:00
monit Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
munin Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
mysql mysql: add evomariabackup 21.11 2021-11-01 10:16:55 +01:00
mysql-oracle Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
nagios-nrpe nagios-nrpe: new check influxdb 2021-10-22 14:51:57 +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 Remove embedded GPG keys only if legacy keyring is present 2021-07-04 22:08:47 +02:00
nginx nginx: Do not use spawn-fcgi for munin-graph 2021-11-17 13:52:15 +01:00
nodejs Remove embedded GPG keys only if legacy keyring is present 2021-07-04 22:08:47 +02:00
ntpd ntpd: Add leapfile configuration setting to ntpd on debian 10+ 2021-04-21 17:22:45 +02:00
opendkim loop syntax and whitespaces 2021-08-27 11:01:28 +02:00
packweb-apache packweb-apache : Support php 8.0 2021-10-18 18:30:47 +02:00
percona Remove embedded GPG keys only if legacy keyring is present 2021-07-04 22:08:47 +02:00
php php: fix assert condition 2021-09-29 18:39:42 +02:00
postfix loop syntax and whitespaces 2021-08-27 11:01:28 +02:00
postgresql Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
proftpd Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
rabbitmq Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
rbenv Fix syntax on task "plugins are installed for" 2021-08-27 10:50:34 +02:00
redis Fix right for redis log dir and log file 2021-11-15 11:33:34 +01:00
redmine Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
remount-usr Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
spamassasin remove whitespace for stream redirection 2021-06-28 15:56:19 +02:00
squid squid: add ZeroSSL to default whitelist 2021-10-12 11:15:33 +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 Preliminary support for Bullseye 2021-07-02 20:58:09 +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 Preliminary support for Bullseye 2021-07-02 20:58:09 +02:00
vrrpd loop syntax and whitespaces 2021-08-27 11:01:28 +02:00
webapps Fix missing quote, option createhome -> create_home in Ansible 3.10, no mode option in user module (fix error introduced in e75eeb8c3f) 2021-10-26 15:34:13 +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 nginx: Do not use spawn-fcgi for munin-graph 2021-11-17 13:52:15 +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 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.

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.