Ansible roles by Evolix
Go to file
Jérémy Lecour 1890a79702
continuous-integration/drone/push Build is passing Details
elasticsearch: inline YAML formatting of seed_hosts and initial_master_nodes
2021-06-23 22:38:24 +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 remove trailing whitespaces 2021-05-13 15:23:39 +02:00
apt explicit permissions for APT GPG keys 2021-05-26 13:47:34 +02:00
bind remove trailing whitespaces 2021-05-13 15:23:39 +02:00
certbot certbot move hooks 2021-06-07 13:04:12 +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 explicit permissions for APT GPG keys 2021-05-26 13:47:34 +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 elasticsearch: inline YAML formatting of seed_hosts and initial_master_nodes 2021-06-23 22:38:24 +02:00
etc-git whitespaces 2021-06-23 22:38:24 +02:00
evoacme Improve Ansible syntax 2021-05-09 23:06:42 +02:00
evobackup-client add default (useless) value for file lookup 2021-05-19 14:35:08 +02:00
evocheck fix pipefail option for shell invocations 2021-05-18 14:04:54 +02:00
evolinux-base explicit permissions for APT GPG keys 2021-05-26 13:47:34 +02:00
evolinux-todo Improve Ansible syntax 2021-05-09 23:06:42 +02:00
evolinux-users evolinux-users: convert uid to string 2021-05-10 07:42:19 +02:00
evomaintenance evomaintenance: upstream release 0.6.4 2021-06-17 10:57:07 +02:00
fail2ban Improve Ansible syntax 2021-05-09 23:06:42 +02:00
filebeat explicit permissions for APT GPG keys 2021-05-26 13:47:34 +02:00
fluentd explicit permissions for APT GPG keys 2021-05-26 13:47:34 +02:00
generate-ldif generate-ldif: Patched computerOS detection 2020-06-30 05:11:05 +02:00
haproxy remove trailing whitespaces 2021-05-13 15:23:39 +02:00
java Improve Ansible syntax 2021-05-09 23:06:42 +02:00
jenkins explicit permissions for APT GPG keys 2021-05-26 13:47:34 +02:00
keepalived Improve Ansible syntax 2021-05-09 23:06:42 +02:00
kibana explicit permissions for APT GPG keys 2021-05-26 13:47:34 +02:00
kvm-host kvm-host: fix typo in add-vm 2021-06-17 18:20:32 +02:00
ldap remove trailing whitespaces 2021-05-13 15:23:39 +02:00
listupgrade listupgrade: upstream release 21.06.2 2021-06-20 12:06:49 +02:00
logstash explicit permissions for APT GPG keys 2021-05-26 13:47:34 +02:00
lxc remove trailing whitespaces 2021-05-13 15:23:39 +02:00
lxc-php explicit permissions for APT GPG keys 2021-05-26 13:47:34 +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 explicit permissions for APT GPG keys 2021-05-26 13:47:34 +02:00
minifirewall add default (useless) value for file lookup 2021-05-19 14:35:08 +02:00
mongodb explicit permissions for APT GPG keys 2021-05-26 13:47:34 +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 explicit permissions for APT GPG keys 2021-05-26 13:47:34 +02:00
nginx Improve Ansible syntax 2021-05-09 23:06:42 +02:00
nodejs nodejs: change GPG key name 2021-06-08 11:19:26 +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 Update 'packweb-apache/meta/main.yml' 2021-05-19 16:33:51 +02:00
percona explicit permissions for APT GPG keys 2021-05-26 13:47:34 +02:00
php explicit permissions for APT GPG keys 2021-05-26 13:47:34 +02:00
postfix fix pipefail option for shell invocations 2021-05-18 14:04:54 +02:00
postgresql Fix main.yml for postgresql role 2021-06-21 11:35:17 +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 Update rbenv-installer version 2021-06-07 10:51:03 +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 fix pipefail option for shell invocations 2021-05-18 14:04:54 +02:00
squid squid: add Yarn apt repository in default whitelist 2021-06-17 18:19:20 +02:00
ssl fix pipefail option for shell invocations 2021-05-18 14:04:54 +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 default (useless) value for file lookup 2021-05-19 14:35:08 +02:00
vrrpd Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
webapps Changement version nexcloud par defaut + modif droit home utilisateur 2021-06-08 15:54:56 +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 elasticsearch: inline YAML formatting of seed_hosts and initial_master_nodes 2021-06-23 22:38:24 +02: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 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

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.