Ansible roles by Evolix
Find a file
Jeremy Lecour 9d5df8d804
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |3144|0|3144|0|:zzz:
gitea/ansible-roles/pipeline/head This commit looks good
haproxy: send logs to local5 by default, to be compatible with default evolinux rsyslog config
2024-08-02 09:46:16 +02:00
.vscode vscode: ansible/yaml formatter 2023-06-01 09:43:43 +02:00
amavis postfix/amavis: max servers is now 3 (previously 2) 2024-04-17 17:09:12 +02:00
amazon-ec2 change syntax "become: [yes,no]" → "become: [true,false]" 2023-07-03 14:21:22 +02:00
apache suppr AhrefsBot + qq commentaires plus explicites 2024-07-18 14:28:31 +02:00
apt apt: don’t add backports source by default on Bookworm 2024-06-26 17:26:47 +02:00
autosysadmin-agent autosysadmin-agent: release 24.06 2024-06-17 18:20:49 +02:00
autosysadmin-restart_nrpe autosysadmin-restart_nrpe: add role 2024-03-01 08:32:47 +01:00
bind bind: New variables to change IPs bind will listen on & send notify/transfer commands 2024-06-06 11:07:03 +02: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 certbot: let's encrypt commit hook deal only with /etc/letsencrypt 2024-06-18 14:00:49 +02:00
check_free_space check_free_space: add role; evolinux-base: install check_free_space by default 2024-01-24 17:25:20 +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 install docker compose and buildx by default 2024-07-25 11:55:40 +02:00
docker-rootless-instance Ajout rôle docker-rootless-instance 2024-07-30 18:09:25 +02:00
dovecot dovecot: add variables for LDAP 2024-02-07 16:14:29 +01:00
drbd Use FQCN 2023-03-20 23:33:19 +01:00
elasticsearch Elastic Stack : default to version 8.x 2024-06-17 10:46:34 +02: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 evobackup-client : Upstream release 24.07 2024-07-16 15:14:24 +02:00
evocheck evocheck: upstream release 24.08 2024-08-01 16:36:33 +02:00
evolinux-base evolinux-base: Add commented Match all 2024-07-03 09:56:24 +02:00
evolinux-todo force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
evolinux-users evolinux-base/evolinux-users: simplify ssh split configuration 2024-07-02 18:03:36 +02:00
evomaintenance evomaintenance: upstream release 24.08 2024-08-01 10:12:00 +02:00
fail2ban fail2ban: remount-usr added because it is needed for last task 2024-06-05 18:08:02 +02:00
filebeat Elastic Stack : default to version 8.x 2024-06-17 10:46:34 +02:00
fluentd nagios-nrpe: take into account if alert_wrapper is present or not when defining NRPE checks for various applications 2024-07-05 10:19:24 +02:00
generate-ldif nagios-nrpe, generateldif: new check_pressure_{cpu,io,mem} 2024-01-31 18:04:11 +01:00
graylog Add role for Graylog 2023-03-30 17:58:30 +02:00
haproxy haproxy: send logs to local5 by default, to be compatible with default evolinux rsyslog config 2024-08-02 09:46:16 +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 nagios-nrpe: take into account if alert_wrapper is present or not when defining NRPE checks for various applications 2024-07-05 10:19:24 +02:00
kibana Elastic Stack : default to version 8.x 2024-06-17 10:46:34 +02:00
kvm-host kvm-host: Add firewall rule for DRBD 2024-02-12 18:52:29 +01:00
ldap amavis/ldap: make ldap_suffix mandatory 2024-02-07 16:15:32 +01:00
listupgrade listupgrade: Fix removal order 2024-01-18 10:14:37 +01:00
log2mail log2mail: add missing default vars (see previous commit) 2024-05-31 10:21:58 +02:00
logstash Elastic Stack : default to version 8.x 2024-06-17 10:46:34 +02:00
lxc lxc: new lxc_template_mirror option (useful to get old Debian from archive.debian.org) 2024-06-03 17:37:05 +02:00
lxc-php Use lxc_php_container_name instead of lxc_php_version 2024-05-27 12:04:13 +02:00
lxc-solr lxc-solr: update solr9 version + fix URL in README 2024-06-05 15:42:16 +02:00
memcached nagios-nrpe: take into account if alert_wrapper is present or not when defining NRPE checks for various applications 2024-07-05 10:19:24 +02:00
meta Add meta/main.yml file for ansible galaxy cloning 2017-11-14 22:16:17 +01:00
metricbeat Elastic Stack : default to version 8.x 2024-06-17 10:46:34 +02:00
minifirewall minifirewall: update from upsteam (24.07) 2024-07-11 16:35:28 +02: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 munin: add 2 graph colons in index with month and year 2024-07-18 16:40:55 +02:00
mysql Fix condition to task "Create undo log dir" 2024-07-16 15:54:08 +02:00
mysql-oracle force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
nagios-nrpe Portage monitoringctl_common et alerts_wrapper en Python 2024-07-26 12:00:02 +02: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: clarify intent regarding check mode 2024-02-07 15:39:05 +01:00
nodejs Fix wrong module params when templating apt sources on Debian 12+ 2024-06-12 20:00:12 +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 openvpn: Set a default date of last OpenVPN startup for OpenBSD when it's not running so that date(1) doesn't fail 2024-07-16 15:12:09 +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 lxc-php, php: Update sury PGP key 2024-02-20 13:57:17 +01:00
policy_pam policy_pam > Add support for Debian 10/9 2023-06-12 11:35:53 +02:00
postfix postfix/amavis: max servers is now 3 (previously 2) 2024-04-17 17:09:12 +02:00
postgresql nagios-nrpe: take into account if alert_wrapper is present or not when defining NRPE checks for various applications 2024-07-05 10:19:24 +02:00
proftpd proftpd: add new munin graph (users count)5 2024-06-10 13:03:37 +02:00
rabbitmq nagios-nrpe: take into account if alert_wrapper is present or not when defining NRPE checks for various applications 2024-07-05 10:19:24 +02:00
rbenv rbenv: Installer libyaml-dev 2023-10-12 17:49:00 +02:00
redis nagios-nrpe: take into account if alert_wrapper is present or not when defining NRPE checks for various applications 2024-07-05 10:19:24 +02:00
redmine change syntax "become: [yes,no]" → "become: [true,false]" 2023-07-03 14:21:22 +02:00
remount-usr remount-usr: back to a simpler implementation 2024-02-07 15:43:23 +01:00
spamassasin spamassassin: optimize tasks 2024-02-07 16:01:37 +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 Revert last commit 2024-02-01 17:04:30 +01:00
varnish force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
vrrpd whitespaces 2024-05-13 10:22:03 +02:00
webapps Example playbooks now use external certbot role 2024-06-28 10:19:23 -04: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 haproxy: send logs to local5 by default, to be compatible with default evolinux rsyslog config 2024-08-02 09:46:16 +02: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.