Ansible roles by Evolix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jérémy Lecour 2c6a3601de Merge pull request 'Release 22.01' (#142) from unstable into stable 11 hours ago
amavis replace "with_items" in apt modules 2 years ago
amazon-ec2 Use 'loop' syntax instead of 'with_items' 9 months ago
apache apache: block access to .git* and .env* files 4 weeks ago
apt apt: upgrade packages after all the configuration is done 11 hours ago
bind Update Galaxy metadata (company, platforms and galaxy_tags) 7 months ago
bullseye-detect/tasks Revert "bullseye-detect: this role is obsolete, Debian 11 has been fully released" 5 months ago
certbot certbot: detect domains for SAN certificates 3 months ago
clamav loop syntax and whitespaces 5 months ago
dhcpd Update Galaxy metadata (company, platforms and galaxy_tags) 7 months ago
docker-host Install python 2 or 3 libraries according to running python version 4 months ago
dovecot dovecot: switch to TLS 1.2+ and external DH params 15 hours ago
drbd Update Galaxy metadata (company, platforms and galaxy_tags) 7 months ago
elasticsearch Remove embedded GPG keys only if legacy keyring is present 7 months ago
etc-git etc-git: better output detection 4 months ago
evoacme evoacme: exclude renewal-hooks directory from cron 4 months ago
evobackup-client remove whitespace for stream redirection 7 months ago
evocheck Fix evocheck_force_install VARIABLE IS NOT DEFINED (validé par jlecour) 3 months ago
evolinux-base apt: upgrade packages after all the configuration is done 11 hours ago
evolinux-todo Update Galaxy metadata (company, platforms and galaxy_tags) 7 months ago
evolinux-users Add missing sudoers line (for old debian 9) 2 months ago
evomaintenance evomaintenance: Upstream release 22.01 15 hours ago
fail2ban Update Galaxy metadata (company, platforms and galaxy_tags) 7 months ago
filebeat Fix Filebeat role for --check mode. 1 month ago
fluentd Remove embedded GPG keys only if legacy keyring is present 7 months ago
generate-ldif generate-ldif: fix typo in var name (cap) 1 month ago
haproxy Preliminary support for Bullseye 7 months ago
java loop syntax and whitespaces 5 months ago
jenkins Remove embedded GPG keys only if legacy keyring is present 7 months ago
keepalived Improve Ansible syntax 9 months ago
kibana Remove embedded GPG keys only if legacy keyring is present 7 months ago
kvm-host Change variable item by kvm_pair and disable loop on all 'hypervisor' group 2 months ago
ldap We want LDAP listen on ldapi:/// by default 7 months ago
listupgrade listupgrade: old-kernel-removal version 21.10 3 months ago
logstash logstash: no more dependency on Java 4 months ago
lxc Fail if /var has nodev or noexec option enabled. 2 weeks ago
lxc-php lxc-php: use bullseye-php80 for php80 container 12 hours ago
lxc-solr loop syntax and whitespaces 5 months ago
memcached Update Galaxy metadata (company, platforms and galaxy_tags) 7 months ago
meta Add meta/main.yml file for ansible galaxy cloning 4 years ago
metricbeat filebeat/metricbeat: version 7.x y default 2 months ago
minifirewall Update Galaxy metadata (company, platforms and galaxy_tags) 7 months ago
mongodb Various changes on mongodb (support 5.0) + fixes & compatibility 4 months ago
monit Update Galaxy metadata (company, platforms and galaxy_tags) 7 months ago
munin Repair munin role 19 hours ago
mysql mysql: add evomariabackup 21.11 3 months ago
mysql-oracle Install python 2 or 3 libraries according to running python version 4 months ago
nagios-nrpe add WIP warning to check_async 15 hours ago
nameserver Use 'loop' syntax instead of 'with_items' 9 months ago
networkd-to-ifconfig Update Galaxy metadata (company, platforms and galaxy_tags) 7 months ago
newrelic Remove embedded GPG keys only if legacy keyring is present 7 months ago
nginx nginx: Add snippet for custom server block config. 6 days ago
nodejs nodejs: default to version 16 LTS 2 weeks ago
ntpd ntpd: Add leapfile configuration setting to ntpd on debian 10+ 9 months ago
opendkim loop syntax and whitespaces 5 months ago
openvpn Write an openvpn role 1 day ago
packweb-apache packweb-apache : Support php 8.0 3 months ago
percona Remove embedded GPG keys only if legacy keyring is present 7 months ago
php php: fix assert condition 4 months ago
postfix loop syntax and whitespaces 5 months ago
postgresql Install python 2 or 3 libraries according to running python version 4 months ago
proftpd Update Galaxy metadata (company, platforms and galaxy_tags) 7 months ago
rabbitmq Install python 2 or 3 libraries according to running python version 4 months ago
rbenv Fix syntax on task "plugins are installed for" 5 months ago
redis Fix right for redis log dir and log file 2 months ago
redmine Install python 2 or 3 libraries according to running python version 4 months ago
remount-usr Add evolix prefix to include_role 2 years ago
spamassasin remove whitespace for stream redirection 7 months ago
squid squid: add ZeroSSL to default whitelist 4 months ago
ssl remove whitespace for stream redirection 7 months ago
supervisord Improve Ansible syntax 9 months ago
tomcat Preliminary support for Bullseye 7 months ago
tomcat-instance Update Galaxy metadata (company, platforms and galaxy_tags) 7 months ago
unbound whitespaces 3 years ago
varnish varnish: add additional options 2 weeks ago
vrrpd loop syntax and whitespaces 5 months ago
webapps Add rule .well-know to allow letsencrypt challenge 2 months ago
.drone.yml Add DroneCI config for build Docker image 3 years ago
.gitignore git ignore .swp files 2 years ago
CHANGELOG.md apt: upgrade packages after all the configuration is done 11 hours ago
Dockerfile Change Dockerfile Workdir to /data 3 years ago
LICENSE Add the GPLv2 licence 5 years ago
README.md Mention the CHANGELOG in the README 12 months ago
evolix Add an evolix symlink for prefixed roles 4 years ago
java8 java: support for Oracle JRE 4 years ago

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.