Ansible roles by Evolix
Find a file
Jeremy Lecour d6a777be72
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2632|5|2627|5|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/366//ansiblelint">Evolix » ansible-roles » unstable #366</a>
gitea/ansible-roles/pipeline/head This commit looks good
kvm-host: migrate-vm: set migration speed even on bridges
2023-10-05 22:05:17 +02: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 force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
apt apt: Add Signed-by on Bookworm updates 2023-09-29 16:09:14 +02:00
bind bind: add todo to reload-zone script 2023-09-20 14:28:54 +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 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 Ensure {{ apt_keyring_dir }} directory exists 2023-07-25 10:59:53 +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 Revert "add new version of evocheck.sh" 2023-09-20 13:32:38 +02:00
evolinux-base Use timesyncd instead of ntpd starting with Debian 12 (not always) 2023-09-28 17:25:18 +02:00
evolinux-todo force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
evolinux-users nagios-nrpe: Add proper plugin to monitor glusterfs health 2023-09-05 15:21:08 +02:00
evomaintenance force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +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 generate-ldif: Support for Debian 12 2023-03-29 11:41:26 +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 kvm-host: migrate-vm: set migration speed even on bridges 2023-10-05 22:05:17 +02: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 lxc-php: fix APT keyring path inside containers 2023-09-21 15:47:23 +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 mysql: new munin graph to follow binlog_days over time 2023-09-26 17:35:14 +02:00
mysql-oracle force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
nagios-nrpe nagios-nrpe: sync Redis check from redis roles 2023-10-03 13:34:53 +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: set default server directive in default vhost 2023-07-17 17:31:21 +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: add new variable to disable oveeriding settings of php-fpm default pool (www) 2023-08-28 17:08:33 +02: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 force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
rabbitmq force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
rbenv change syntax "become: [yes,no]" → "become: [true,false]" 2023-07-03 14:21:22 +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 Use FQCN 2023-03-20 23:33:19 +01:00
supervisord force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02:00
timesyncd New timesyncd role used instead of ntpd by default 2023-09-28 15:27:19 +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 force: [yes,no] → force [true,false] 2023-06-28 13:25:30 +02: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
CHANGELOG.md kvm-host: migrate-vm: set migration speed even on bridges 2023-10-05 22:05:17 +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.