Ansible roles by Evolix
Go to file
Mathieu Gauthier-Pilote 1b6527c4ce
gitea/ansible-roles/pipeline/head This commit looks good Details
With post-deployement the 2nd time; allow to upgrade rbenv if needed; upgrade browsers list db to remove warnings
2023-04-06 14:46:01 -04: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 Revert ce5e4b12c6 2022-12-14 11:30:35 +01:00
apt Use bullseye suite even for bookworm 2022-11-06 15:25:17 +01:00
bind Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
bookworm-detect/tasks bookworm-detect: transitional role to help dealing with unreleased bookworm version 2022-11-05 21:15:21 +01: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: auto-detect HAPEE version in renewal hook 2022-12-05 14:22:12 +01: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 Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
dovecot Add Out of memory log2mail alert to dovecot role 2022-03-15 10:06:21 +01:00
drbd Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
elasticsearch Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
etc-git Remove warning ignores as they are depreciated 2022-12-22 11:32:32 -05:00
evoacme Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01:00
evobackup-client Enforce String notation for mode 2022-06-08 15:38:21 +02:00
evocheck Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01:00
evolinux-base Remove warning ignores as they are depreciated 2022-12-22 11:32:32 -05:00
evolinux-todo evolinux-todo: execute tasks only for Debian distribution (because this task is a dependency for others roles used on different distributions) 2022-10-17 11:37:58 +02:00
evolinux-users Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01:00
evomaintenance fix non-breaking spaces 2022-12-14 11:47:53 +01:00
fail2ban Merge branch 'unstable' of gitea.evolix.org:evolix/ansible-roles into unstable 2022-12-14 17:53:20 +01:00
filebeat Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
fluentd Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
generate-ldif [generate-ldif] Make MariaDB version detection more generic. 2022-08-29 17:28:57 +02:00
haproxy Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01:00
java java: use default JRE when version is not specified 2022-09-30 11:39:05 +02:00
jenkins Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
keepalived keepalived: change exit code (warning if runnin but not on expected state ; critical if not running) 2022-11-28 17:16:43 +01:00
kibana Remove warning ignores as they are depreciated 2022-12-22 11:32:32 -05:00
kvm-host Fix depreciation of drbd-overview by drbdadm status 2022-07-05 10:16:47 +02:00
ldap We want LDAP listen on ldapi:/// by default 2021-07-08 19:22:00 +02:00
listupgrade listupgrade: sort/uniq of packages/services lists in email template 2022-12-07 21:05:12 +01:00
logstash Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
lxc Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01:00
lxc-php fix non-breaking spaces 2022-12-14 11:47:53 +01:00
lxc-solr lxc-solr: use default JRE package 2022-09-30 11:39:50 +02:00
memcached memcached: multi instance check requires bash instead of sh 2022-09-01 15:48:15 +02:00
meta Add meta/main.yml file for ansible galaxy cloning 2017-11-14 22:16:17 +01:00
metricbeat Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
minifirewall Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01:00
mongodb Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
monit Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
munin Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01:00
mysql Add logrotate for mysql_skip log file 2022-12-16 16:31:43 +01:00
mysql-oracle add set crypt_use_gpgme=no Mutt option 2022-06-01 15:25:05 +02:00
nagios-nrpe Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01: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 Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
nginx Remove warning ignores as they are depreciated 2022-12-22 11:32:32 -05:00
nodejs Drop unsigned repository when adding a signed one 2022-12-02 17:40:43 +01:00
ntpd Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01:00
opendkim Ajout opendkim-genkey en sha256 et taille clé 4096 2022-05-09 10:14:33 +02:00
openvpn openvpn: Fix mode of shellpki script 2022-12-13 19:37:54 +01:00
packweb-apache fix non-breaking spaces 2022-12-14 11:47:53 +01:00
percona Use proper keyrings directory for APT version 2022-11-02 23:16:32 +01:00
php Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01:00
postfix postfix: add localhost. to mydestination 2022-12-15 11:49:35 +01:00
postgresql Add variable for fix logging 2022-12-15 14:47:04 +01:00
proftpd Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01:00
rabbitmq rabbitmq: add link in default page 2022-12-07 15:49:03 +01:00
rbenv Remove warning ignores as they are depreciated 2022-12-22 11:32:32 -05:00
redis redis: variable to disable transparent hugepage (default: do nothing) 2022-10-20 14:38:12 +02:00
redmine Install python 2 or 3 libraries according to running python version 2021-09-30 17:05:10 +02:00
remount-usr Remove warning ignores as they are depreciated 2022-12-22 11:32:32 -05:00
spamassasin remove whitespace for stream redirection 2021-06-28 15:56:19 +02:00
squid Revert "Add “when: not ansible_check_mode” to allow more --check" 2022-12-14 07:41:18 +01: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 Tomcat 9 by default with Debian 11 2022-04-08 11:57:35 +02:00
tomcat-instance fix non-breaking spaces 2022-12-14 11:47:53 +01:00
unbound whitespaces 2019-05-14 14:03:03 +02:00
varnish varnish: fix missing state, that blocked the task 2022-11-26 19:10:21 +01:00
vrrpd vrrpd: Small fix to work in check mode 2022-12-14 11:01:03 +01:00
webapps With post-deployement the 2nd time; allow to upgrade rbenv if needed; upgrade browsers list db to remove warnings 2023-04-06 14:46:01 -04:00
.Jenkinsfile Revert "CI: Handle [ci skip] keyword" 2022-08-03 13:55:39 +02:00
.gitignore git ignore .swp files 2019-10-11 21:27:01 +02:00
CHANGELOG.md Fix presentation error in changelog markdown 2022-12-22 11:35:52 -05: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 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

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.