Ansible roles by Evolix
Find a file
2023-11-21 09:04:57 +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 : rename MaxRequestsPerChild to MaxConnectionsPerChild (new name) 2023-11-16 14:45:07 +01:00
apt apt: Add Signed-by on Bookworm updates 2023-09-29 16:09:14 +02:00
bind bind: Adapt chroot-bind for Bookworm 2023-11-21 09:04:57 +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 j'ai refait le script par rapport aux autres modèles 2023-08-31 17:39:28 +02: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 docker-host: Retirer directive state en trop 2023-10-11 18:06:13 +02:00
dovecot dovecot: set Munin config in dedicated file 2023-07-21 16:33:15 +02:00
drbd Use FQCN 2023-03-20 23:33:19 +01:00
elasticsearch Ensure {{ apt_keyring_dir }} directory exists 2023-07-25 10:59:53 +02:00
etc-git etc-git: include → import_tasks 2023-07-12 09:40:25 +02: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 23.10 2023-10-26 16:03:45 +02:00
evolinux-base evolinux-base: no need to remove update-evobackup-canary from sbin anymore 2023-11-20 19:15:39 +01:00
evolinux-todo force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
evolinux-users Revert "php83: preliminary work" 2023-10-27 14:33:12 +02:00
evomaintenance evomaintenance: upstream release 23.10.1 2023-10-09 18:13:48 +02:00
fail2ban fail2ban: add variable fail2ban_sshd_port to configure sshd port 2023-07-31 11:50:36 +02: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 Revert "php83: preliminary work" 2023-10-27 14:33:12 +02: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 add-vm.sh: allow VM name max length > 20 2023-11-03 10:48:28 +01:00
ldap Use FQCN 2023-03-20 23:33:19 +01:00
listupgrade force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
logstash metricbeat/logstash: fix Ansible syntax 2023-09-13 09:38:44 +02:00
lxc LXC: Drop openssh-server from just installed container 2023-09-26 18:00:42 +02:00
lxc-php Revert "php83: preliminary work" 2023-10-27 14:33:12 +02: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 Use our current repository even in comments 2023-07-27 14:50:54 +02:00
mongodb Ensure {{ apt_keyring_dir }} directory exists 2023-07-25 10:59:53 +02: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 shell syntax 2023-11-20 19:03:50 +01:00
mysql-oracle force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
nagios-nrpe use ternary condition (more readable) 2023-11-20 19:03:39 +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: keep indentation 2023-10-18 22:12:40 +02: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 php: Bullseye/Sury > Honor the php_version asked in the pub.evolix.org repository 2023-11-13 16:17:22 +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 Use FQCN 2023-03-20 23:33:19 +01:00
spamassasin Use FQCN 2023-03-20 23:33:19 +01:00
squid whitelist domains used by nextcloud 2023-09-20 09:47:22 +02: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 timesyncd: rename variable ntp_servers to timesyncd_ntp_servers and check for minimum number of elements 2023-10-14 07:07:57 +02: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 force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02: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 force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
webapps webapps/nextcloud: fix misplaced gid attr and added check for nexctcloud uid 2023-11-09 16:48:17 +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 evolinux-base: no need to remove update-evobackup-canary from sbin anymore 2023-11-20 19:15:39 +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.