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.
 
 
 
 
 
 
Go to file
Jérémy Lecour c17bb03535
continuous-integration/drone Build is passing Details
minifirewall: tail template follows symlinks
11 months ago
amavis replace "with_items" in apt modules 3 years ago
amazon-ec2 Use 'loop' syntax instead of 'with_items' 2 years ago
apache apache: block access to .git* and .env* files 1 year ago
apt apt_hold_packages: broadcast message with wall, if present 12 months ago
bind Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
bullseye-detect/tasks Revert "bullseye-detect: this role is obsolete, Debian 11 has been fully released" 1 year ago
certbot certbot: detect domains for SAN certificates 1 year ago
clamav loop syntax and whitespaces 1 year ago
dhcpd Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
docker-host Install python 2 or 3 libraries according to running python version 1 year ago
dovecot Add zzz-evolinux-custom.conf to dovecot role 12 months ago
drbd Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
elasticsearch elasticsearch: Use `/etc/elasticsearch/jvm.options.d/evolinux.options` instead of default `/etc/elasticsearch/jvm.options` 12 months ago
etc-git etc-git: better output detection 1 year ago
evoacme evoacme: exclude renewal-hooks directory from cron 1 year ago
evobackup-client remove whitespace for stream redirection 2 years ago
evocheck Fix evocheck_force_install VARIABLE IS NOT DEFINED (validé par jlecour) 1 year ago
evolinux-base evolinux-base: option to bypass raid-related tasks 1 year ago
evolinux-todo Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
evolinux-users evolinx-users: optimize sudo configuration 11 months ago
evomaintenance evomaintenance: Upstream release 22.01 1 year ago
fail2ban Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
filebeat Fix Filebeat role for --check mode. 1 year ago
fluentd Remove embedded GPG keys only if legacy keyring is present 2 years ago
generate-ldif generate-ldif: Add support for php-fpm in containers 12 months ago
haproxy Preliminary support for Bullseye 2 years ago
java loop syntax and whitespaces 1 year ago
jenkins Remove embedded GPG keys only if legacy keyring is present 2 years ago
keepalived Improve Ansible syntax 2 years ago
kibana Remove embedded GPG keys only if legacy keyring is present 2 years ago
kvm-host kvm-host: add missing default value 1 year ago
ldap We want LDAP listen on ldapi:/// by default 2 years ago
listupgrade listupgrade: old-kernel-removal version 21.10 1 year ago
logstash logstash: no more dependency on Java 1 year ago
lxc lxc: Fail if /var is nosuid 12 months ago
lxc-php lxc-php: preliminary support for PHP 8.1 container 12 months ago
lxc-solr loop syntax and whitespaces 1 year ago
memcached Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
meta Add meta/main.yml file for ansible galaxy cloning 5 years ago
metricbeat filebeat/metricbeat: version 7.x y default 1 year ago
minifirewall minifirewall: tail template follows symlinks 11 months ago
mongodb Various changes on mongodb (support 5.0) + fixes & compatibility 1 year ago
monit Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
munin Explicit permissions for systemd overrides 1 year ago
mysql mysql: add evomariabackup 21.11 1 year ago
mysql-oracle Install python 2 or 3 libraries according to running python version 1 year ago
nagios-nrpe lxc-php: preliminary support for PHP 8.1 container 12 months ago
nameserver Use 'loop' syntax instead of 'with_items' 2 years ago
networkd-to-ifconfig Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
newrelic Remove embedded GPG keys only if legacy keyring is present 2 years ago
nginx Fix missing evolinux_server_custom file copy in Nginx role. 12 months ago
nodejs nodejs: default to version 16 LTS 1 year ago
ntpd ntpd: Add leapfile configuration setting to ntpd on debian 10+ 2 years ago
opendkim We use now TCP/8891, cf HowtoOpenDKIM 12 months ago
openvpn openvpn: fix last_openvpn_restart_date variable 12 months ago
packweb-apache lxc-php: preliminary support for PHP 8.1 container 12 months ago
percona Remove embedded GPG keys only if legacy keyring is present 2 years ago
php php: fix assert condition 1 year ago
postfix loop syntax and whitespaces 1 year ago
postgresql Explicit permissions for systemd overrides 1 year ago
proftpd Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
rabbitmq Install python 2 or 3 libraries according to running python version 1 year ago
rbenv rbenv: install Ruby 3.1.0 by default 1 year ago
redis redis: always install check_redis_instances 11 months ago
redmine Install python 2 or 3 libraries according to running python version 1 year ago
remount-usr remount-usr: use findmnt to find if usr is a readonly partition 1 year ago
spamassasin remove whitespace for stream redirection 2 years ago
squid Explicit permissions for systemd overrides 1 year ago
ssl remove whitespace for stream redirection 2 years ago
supervisord Improve Ansible syntax 2 years ago
tomcat Preliminary support for Bullseye 2 years ago
tomcat-instance Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
unbound whitespaces 4 years ago
varnish varnish: update munin plugin to work with recent varnish versions 1 year ago
vrrpd loop syntax and whitespaces 1 year ago
webapps Add rule .well-know to allow letsencrypt challenge 1 year ago
.drone.yml Add DroneCI config for build Docker image 4 years ago
.gitignore git ignore .swp files 3 years ago
CHANGELOG.md minifirewall: tail template follows symlinks 11 months ago
Dockerfile Change Dockerfile Workdir to /data 4 years ago
LICENSE Add the GPLv2 licence 6 years ago
README.md Mention the CHANGELOG in the README 2 years ago
evolix Add an evolix symlink for prefixed roles 5 years ago
java8 java: support for Oracle JRE 5 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.