Ansible roles by Evolix
Go to file
David Prevot 6da4d9735f
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2682|10|2672|4|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/wip_10691/1//ansiblelint">Evolix » ansible-roles » wip_10691 #1</a>
gitea/ansible-roles/pipeline/head This commit looks good
generate-ldif: Add elasticsearch_shards
2024-01-17 14:32:13 +01:00
.vscode vscode: ansible/yaml formatter 2023-06-01 09:43:43 +02:00
amavis amavis: Workaround https://bugs.debian.org/569150 2023-06-15 17:52:41 +02:00
amazon-ec2 change syntax "become: [yes,no]" → "become: [true,false]" 2023-07-03 14:21:22 +02:00
apache apache: use backward compatible Redirect directive 2023-12-11 18:19:38 +01:00
apt apt: Disable archive repository for Debian 8 2023-12-11 15:10:11 +01:00
autosysadmin Add role for automatically deploying autosysadmin 2023-12-18 17:00:51 +01:00
bind bind: improve reload script 2023-12-29 12:12:39 +01:00
bookworm-detect/tasks Use FQCN 2023-03-20 23:33:19 +01:00
bullseye-detect/tasks Use FQCN 2023-03-20 23:33:19 +01:00
certbot warning comment 2024-01-11 17:45:55 +01:00
clamav Use FQCN 2023-03-20 23:33:19 +01:00
dhcpd Use FQCN 2023-03-20 23:33:19 +01:00
docker-host fix: search/replace error 2023-12-04 11:38:09 +01:00
dovecot dovecot: fix plugin dovecot1 2024-01-09 17:13:22 +01:00
drbd Use FQCN 2023-03-20 23:33:19 +01:00
elasticsearch elastic: install elasticsearch_shards Nagios check 2024-01-17 14:31:11 +01:00
etc-git etc-git: add /var/chroot-bind/etc/bind to Git safe directories to avoid owner check by Git (bind owns the repo, not root) 2023-11-30 17:41:25 +01:00
evoacme change syntax "become: [yes,no]" → "become: [true,false]" 2023-07-03 14:21:22 +02:00
evobackup-client Use FQCN 2023-03-20 23:33:19 +01:00
evocheck evocheck: upstream release 24.01 2024-01-03 17:47:09 +01:00
evolinux-base evolinux-base: Check for syntax error in cron.log 2023-12-18 18:05:36 +01:00
evolinux-todo force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
evolinux-users lxc-php: Allow one to install php83 on Bookworm container 2023-11-28 17:15:44 +01:00
evomaintenance evomaintenance: upstream release 23.10.1 2023-10-09 18:13:48 +02:00
fail2ban fail2ban: fix template marker 2024-01-11 17:46:49 +01:00
filebeat Ensure {{ apt_keyring_dir }} directory exists 2023-07-25 10:59:53 +02:00
fluentd Ensure {{ apt_keyring_dir }} directory exists 2023-07-25 10:59:53 +02:00
generate-ldif generate-ldif: Add elasticsearch_shards 2024-01-17 14:32:13 +01:00
graylog Add role for Graylog 2023-03-30 17:58:30 +02:00
haproxy force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
java Allow Java 17 2023-09-26 18:00:57 +02:00
jenkins Ensure {{ apt_keyring_dir }} directory exists 2023-07-25 10:59:53 +02:00
keepalived force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
kibana kibana: include tasks instead of import 2023-08-29 12:06:21 +02:00
kvm-host kvm-host: Add LVM filter when needed 2023-12-22 11:26:08 +01:00
ldap Use FQCN 2023-03-20 23:33:19 +01:00
listupgrade listupgrade : old-kernel-removal.sh upstream release 24.01 2024-01-12 11:39:01 +01:00
logstash metricbeat/logstash: fix Ansible syntax 2023-09-13 09:38:44 +02:00
lxc lxc: Init /etc git repository in lxc container 2023-11-24 11:54:13 +01:00
lxc-php scripts munin pour les stats sur les pools 2023-12-04 18:46:48 +01:00
lxc-solr Use FQCN 2023-03-20 23:33:19 +01:00
memcached force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
meta Add meta/main.yml file for ansible galaxy cloning 2017-11-14 22:16:17 +01:00
metricbeat metricbeat/logstash: fix Ansible syntax 2023-09-13 09:38:44 +02:00
minifirewall fix(minifirewall): Properly detect old minifirewall versions 2023-12-14 16:59:55 +01:00
mongodb mongodb: add gpg key for 7.0 2023-12-18 16:36:09 +01:00
monit force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
munin Use FQCN 2023-03-20 23:33:19 +01:00
mysql mysql: disable performance schema for Debian 8 2023-12-11 18:21:57 +01:00
mysql-oracle force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
nagios-nrpe elastic: install elasticsearch_shards Nagios check 2024-01-17 14:31:11 +01:00
nameserver Use FQCN 2023-03-20 23:33:19 +01:00
networkd-to-ifconfig Use FQCN 2023-03-20 23:33:19 +01:00
newrelic Ensure {{ apt_keyring_dir }} directory exists 2023-07-25 10:59:53 +02:00
nginx nginx: take care of « already defined » and « not yet defined » server status suffix in check mode 2024-01-11 16:51:20 +01:00
nodejs Ensure {{ apt_keyring_dir }} directory exists 2023-07-25 10:59:53 +02:00
ntpd Use FQCN 2023-03-20 23:33:19 +01:00
opendkim opendkim: update apt cache before install 2023-07-20 16:33:15 +02:00
openvpn force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
packweb-apache force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
percona Ensure {{ apt_keyring_dir }} directory exists 2023-07-25 10:59:53 +02:00
pgbouncer rename handler 2023-06-05 14:28:06 +02:00
php scripts munin pour les stats sur les pools 2023-12-04 18:46:48 +01:00
policy_pam policy_pam > Add support for Debian 10/9 2023-06-12 11:35:53 +02:00
postfix postfix: disable IPv6 2023-09-05 15:44:37 +02:00
postgresql Add variable ansible_distribution_release on preference file for fix version of postgresql 2023-08-14 09:29:12 +02:00
proftpd ProFTPd: set missing default listen IP for SFTP, enable ed25525549 key only for Debian >= 11 2023-11-15 10:53:22 +01:00
rabbitmq force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
rbenv rbenv: Installer libyaml-dev 2023-10-12 17:49:00 +02:00
redis redis: replace errorneous ini_file module for Munin config, fix dedicted Munin config filename (z-XXX) 2023-07-21 16:51:02 +02:00
redmine change syntax "become: [yes,no]" → "become: [true,false]" 2023-07-03 14:21:22 +02:00
remount-usr remount-usr: do not try to remount /usr RW if /usr is not a mounted partition 2023-12-11 10:46:04 +01:00
spamassasin spamassin: Use spamd starting with Bookworm 2023-12-12 17:11:47 +01:00
squid squid: config directory seems to have changed from /etc/squid3 to /etc/squid in Debian 8 2023-12-11 15:10:06 +01:00
ssl #73871 ssl: no not execute haproxy tasks and reload if haproxy is disabled 2023-11-17 15:51:33 +01:00
supervisord force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
timesyncd Fix timesyncd template 2023-12-05 11:15:36 +01:00
tomcat Use FQCN 2023-03-20 23:33:19 +01:00
tomcat-instance force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
unbound unbound: Add a apt cache validity to enforce an apt update if needed 2023-12-19 17:55:36 +01:00
userlogrotate keep rights from current log 2023-09-26 11:42:21 +02:00
varnish force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
vrrpd vrrpd: test if interface exists before deleting it 2023-12-20 15:27:07 +01:00
webapps evoadmin-mail: use fixed version for Ansible 2023-12-22 15:44:40 +01:00
.gitignore .gitignore .vscode directory 2023-06-15 15:26:07 +02:00
.Jenkinsfile Jenkinsfile > Creating a temp file to collect lint result is not required 2022-12-27 18:43:37 +01:00
.markdownlint.json Linting CHANGELOG 2023-10-14 07:36:29 +02:00
CHANGELOG.md listupgrade : old-kernel-removal.sh upstream release 24.01 2024-01-12 11:39:01 +01:00
Dockerfile Change Dockerfile Workdir to /data 2019-06-17 14:31:01 +02: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
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

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.