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.
 
 
 
 
 
 
Tristan Pilat c06fe36796 Switch to Solr 8.4.1 9 months ago
amavis replace "with_items" in apt modules 10 months ago
amazon-ec2 Add evolix prefix to include_role 1 year ago
apache apache: the default VHost doesn't redirect to https for ".well-known" paths 10 months ago
apt apt: added buster backports prerferences 9 months ago
bind replace "with_items" in apt modules 10 months ago
certbot certbot: commit all changes in /etc/.git 9 months ago
clamav replace "with_items" in apt modules 10 months ago
dhcpd change repositories URL 1 year ago
docker-host Change "|changed" with "is changed" 10 months ago
dovecot Add names to many blocks 10 months ago
drbd replace "with_items" in apt modules 10 months ago
elasticsearch Add names to many blocks 10 months ago
etc-git etc-git: fix warnings ansible-lint 10 months ago
evoacme Add names to many blocks 10 months ago
evobackup-client Temp fix for regression introduced by bkctld 2.x 10 months ago
evocheck Change "|search" with "is search" 10 months ago
evolinux-base evolinux-base: remove the chrony package 10 months ago
evolinux-todo Add evolix prefix to include_role 1 year ago
evolinux-users Change "|version_compare" with "is version_compare" 10 months ago
evomaintenance evomaintenance: don't configure firewall for database if not necessary 10 months ago
fail2ban fail2ban: For sshd jail, protect 2222 port too 1 year ago
filebeat Add names to many blocks 10 months ago
fluentd fluentd: store gpg key locally 1 year ago
generate-ldif Change "|search" with "is search" 10 months ago
haproxy Change "|changed" with "is changed" 10 months ago
java replace "with_items" in apt modules 10 months ago
jenkins Add evolix prefix to role dependencies 1 year ago
kibana Add evolix prefix to include_role 1 year ago
kvm-host Add names to many blocks 10 months ago
ldap replace "with_items" in apt modules 10 months ago
listupgrade Add evolix prefix to include_role 1 year ago
logstash Add evolix prefix to role dependencies 1 year ago
lxc Change "|version_compare" with "is version_compare" 10 months ago
lxc-php Add evolix prefix to include_role 1 year ago
lxc-solr Switch to Solr 8.4.1 9 months ago
memcached Add multi: "" patch 10 months ago
meta Add meta/main.yml file for ansible galaxy cloning 3 years ago
metricbeat change repositories URL 1 year ago
minifirewall minifirewall: Properly detect alert5.sh to turn on firewall at boot 9 months ago
mongodb replace "with_items" in apt modules 10 months ago
monit change repositories URL 1 year ago
munin Change "|search" with "is search" 10 months ago
mysql Change "|search" with "is search" 10 months ago
mysql-oracle Change "|changed" with "is changed" 10 months ago
nagios-nrpe nagios-nrpe: change default haproxy socket path 10 months ago
nameserver Add nameserver role 3 years ago
networkd-to-ifconfig change repositories URL 1 year ago
newrelic change repositories URL 1 year ago
nginx Change "|changed" with "is changed" 10 months ago
nodejs The GPG key for yarn changed 9 months ago
ntpd * ntpd: Update the restrictions to follow wiki.evolix.org/HowtoNTP client config 1 year ago
opendkim replace "with_items" in apt modules 10 months ago
packweb-apache packweb-apache: update phpmyadmin package for Debian 10+ 10 months ago
percona Change "|changed" with "is changed" 10 months ago
php php: Add a task to remove Debian's default FPM pool file (off by default) 10 months ago
postfix replace "with_items" in apt modules 10 months ago
postgresql Allow different postgres versions on buster and stretch 9 months ago
proftpd change repositories URL 1 year ago
rabbitmq replace "with_items" in apt modules 10 months ago
rbenv replace "with_items" in apt modules 10 months ago
redis redis: data directory is configurable 10 months ago
redmine replace "with_items" in apt modules 10 months ago
remount-usr Add evolix prefix to include_role 1 year ago
spamassasin replace "with_items" in apt modules 10 months ago
squid replace "with_items" in apt modules 10 months ago
ssl whitespaces 1 year ago
supervisord Supervisor: handlers name + tags 3 years ago
tomcat tomcat: package version derived from Debian version if missing 10 months ago
tomcat-instance Change "|changed" with "is changed" 10 months ago
unbound whitespaces 1 year ago
varnish Change "|version_compare" with "is version_compare" 10 months ago
vrrpd Add evolix prefix to include_role 1 year ago
webapps Change "|search" with "is search" 10 months ago
.drone.yml Add DroneCI config for build Docker image 1 year ago
.gitignore git ignore .swp files 1 year ago
CHANGELOG.md minifirewall: Properly detect alert5.sh to turn on firewall at boot 9 months ago
Dockerfile Change Dockerfile Workdir to /data 1 year ago
LICENSE Add the GPLv2 licence 3 years ago
README.md change repositories URL 1 year ago
evolix Add an evolix symlink for prefixed roles 2 years ago
java8 java: support for Oracle JRE 2 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.

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.