Ansible roles by Evolix
Find a file
Jeremy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02: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 Improve Ansible syntax 2021-05-09 23:06:42 +02:00
apt Improve Ansible syntax 2021-05-09 23:06:42 +02:00
bind Improve Ansible syntax 2021-05-09 23:06:42 +02:00
certbot Improve Ansible syntax 2021-05-09 23:06:42 +02:00
clamav Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
dhcpd change repositories URL 2019-03-21 15:31:58 +01:00
docker-host Improve Ansible syntax 2021-05-09 23:06:42 +02:00
dovecot Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
drbd replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
elasticsearch Improve Ansible syntax 2021-05-09 23:06:42 +02:00
etc-git Improve Ansible syntax 2021-05-09 23:06:42 +02:00
evoacme Improve Ansible syntax 2021-05-09 23:06:42 +02:00
evobackup-client Improve Ansible syntax 2021-05-09 23:06:42 +02:00
evocheck Improve Ansible syntax 2021-05-09 23:06:42 +02:00
evolinux-base Improve Ansible syntax 2021-05-09 23:06:42 +02:00
evolinux-todo Improve Ansible syntax 2021-05-09 23:06:42 +02:00
evolinux-users Improve Ansible syntax 2021-05-09 23:06:42 +02:00
evomaintenance Improve Ansible syntax 2021-05-09 23:06:42 +02:00
fail2ban Improve Ansible syntax 2021-05-09 23:06:42 +02:00
filebeat Improve Ansible syntax 2021-05-09 23:06:42 +02:00
fluentd remove apt keys specifically from embedded database 2021-05-06 13:43:59 +02:00
generate-ldif generate-ldif: Patched computerOS detection 2020-06-30 05:11:05 +02:00
haproxy Improve Ansible syntax 2021-05-09 23:06:42 +02:00
java Improve Ansible syntax 2021-05-09 23:06:42 +02:00
jenkins remove apt keys specifically from embedded database 2021-05-06 13:43:59 +02:00
keepalived Improve Ansible syntax 2021-05-09 23:06:42 +02:00
kibana Improve Ansible syntax 2021-05-09 23:06:42 +02:00
kvm-host Improve Ansible syntax 2021-05-09 23:06:42 +02:00
ldap Improve Ansible syntax 2021-05-09 23:06:42 +02:00
listupgrade listupgrade: update script from upstream 2021-03-23 16:27:15 +01:00
logstash Improve Ansible syntax 2021-05-09 23:06:42 +02:00
lxc Improve Ansible syntax 2021-05-09 23:06:42 +02:00
lxc-php Improve Ansible syntax 2021-05-09 23:06:42 +02:00
lxc-solr Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
memcached Improve Ansible syntax 2021-05-09 23:06:42 +02:00
meta Add meta/main.yml file for ansible galaxy cloning 2017-11-14 22:16:17 +01:00
metricbeat Improve Ansible syntax 2021-05-09 23:06:42 +02:00
minifirewall Improve Ansible syntax 2021-05-09 23:06:42 +02:00
mongodb Improve Ansible syntax 2021-05-09 23:06:42 +02:00
monit change repositories URL 2019-03-21 15:31:58 +01:00
munin Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
mysql Improve Ansible syntax 2021-05-09 23:06:42 +02:00
mysql-oracle Improve Ansible syntax 2021-05-09 23:06:42 +02:00
nagios-nrpe Improve Ansible syntax 2021-05-09 23:06:42 +02:00
nameserver Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
networkd-to-ifconfig Improve Ansible syntax 2021-05-09 23:06:42 +02:00
newrelic Improve Ansible syntax 2021-05-09 23:06:42 +02:00
nginx Improve Ansible syntax 2021-05-09 23:06:42 +02:00
nodejs Improve Ansible syntax 2021-05-09 23:06:42 +02:00
ntpd ntpd: Add leapfile configuration setting to ntpd on debian 10+ 2021-04-21 17:22:45 +02:00
opendkim Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
packweb-apache Improve Ansible syntax 2021-05-09 23:06:42 +02:00
percona Improve Ansible syntax 2021-05-09 23:06:42 +02:00
php Improve Ansible syntax 2021-05-09 23:06:42 +02:00
postfix Improve Ansible syntax 2021-05-09 23:06:42 +02:00
postgresql Improve Ansible syntax 2021-05-09 23:06:42 +02:00
proftpd Improve Ansible syntax 2021-05-09 23:06:42 +02:00
rabbitmq replace "with_items" in apt modules 2019-12-31 16:18:56 +01:00
rbenv Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
redis Improve Ansible syntax 2021-05-09 23:06:42 +02:00
redmine Improve Ansible syntax 2021-05-09 23:06:42 +02:00
remount-usr Add evolix prefix to include_role 2019-11-29 14:00:25 +01:00
spamassasin spamassassin: change dependency on evomaintenance 2021-05-02 01:24:03 +02:00
squid Improve Ansible syntax 2021-05-09 23:06:42 +02:00
ssl whitespaces 2019-04-25 13:36:25 +02:00
supervisord Improve Ansible syntax 2021-05-09 23:06:42 +02:00
tomcat tomcat: root directory owner/group are configurable 2020-08-27 17:12:34 +02:00
tomcat-instance Improve Ansible syntax 2021-05-09 23:06:42 +02:00
unbound whitespaces 2019-05-14 14:03:03 +02:00
varnish Add forgotten tag 2021-05-06 13:03:28 +02:00
vrrpd Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
webapps Improve Ansible syntax 2021-05-09 23:06:42 +02:00
.drone.yml Add DroneCI config for build Docker image 2019-06-17 14:06:13 +02:00
.gitignore git ignore .swp files 2019-10-11 21:27:01 +02:00
CHANGELOG.md packweb-apache: install phpMyAdmin from buster-backports 2021-05-04 14:57:18 +02:00
Dockerfile Change Dockerfile Workdir to /data 2019-06-17 14:31:01 +02:00
evolix Add an evolix symlink for prefixed roles 2018-03-20 13:32:38 +01: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.