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.
 
 
 
 
 
 
Ludovic Poujol c8d4da532f evoacme: Don't ignore hooks with . in the name (ignore when it's ".disable") 3 months ago
amavis replace "with_items" in apt modules 1 year ago
amazon-ec2 Change default public SSH/SFTP port from 2222 to 22222 4 months ago
apache Replace version_compare() with version() 11 months ago
apt Replace version_compare() with version() 11 months ago
bind Merge branch 'bind9_evocheck_fix' into unstable 10 months ago
certbot certbot: an empty change shouldn't raise an exception 4 months ago
clamav Suppression du paquet zoo 11 months ago
dhcpd change repositories URL 1 year ago
docker-host Change "|changed" with "is changed" 1 year ago
dovecot dovecot: Update munin plugin & configure it 3 months ago
drbd replace "with_items" in apt modules 1 year ago
elasticsearch elasticsearch: keep native values 6 months ago
etc-git Replace version_compare() with version() 11 months ago
evoacme evoacme: Don't ignore hooks with . in the name (ignore when it's ".disable") 3 months ago
evobackup-client evobackup-client: Fix ssh connection test in zzz_evobackup.sh 7 months ago
evocheck evocheck: upstream version 20.04.4 9 months ago
evolinux-base evolinux-base: install wget 4 months ago
evolinux-todo Add evolix prefix to include_role 1 year ago
evolinux-users Replace version_compare() with version() 11 months ago
evomaintenance evomaintenance: install the embedded script by default 10 months ago
fail2ban Change default public SSH/SFTP port from 2222 to 22222 4 months ago
filebeat filebeat: add logstash output variables 3 months ago
fluentd fluentd: store gpg key locally 1 year ago
generate-ldif generate-ldif: Patched computerOS detection 6 months ago
haproxy haproxy: rotate logs with date extension and immediate compression 7 months ago
java java: add Java 11 as possible version to install 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 1 year ago
ldap replace "with_items" in apt modules 1 year ago
listupgrade explicit "force: no" for consistency 9 months ago
logstash Add evolix prefix to role dependencies 1 year ago
lxc lxc: install apparmor on Debian 10 9 months ago
lxc-php lxc-php: Do --no-install-recommends for ssmtp/opensmtpd 7 months ago
lxc-solr Switch to Solr 8.4.1 11 months ago
memcached Fix task when memcached_instance_name 9 months ago
meta Add meta/main.yml file for ansible galaxy cloning 3 years ago
metricbeat metricbeat: allow using a template 5 months ago
minifirewall Change default public SSH/SFTP port from 2222 to 22222 4 months ago
mongodb mongodb: Fix issue introduced by 8aa7f6cf3366606010407ee0af4687c7a716463f 5 months ago
monit change repositories URL 1 year ago
munin Change "|search" with "is search" 1 year ago
mysql Fix variable par défaut manquante dans mysql 7 months ago
mysql-oracle Replace version_compare() with version() 11 months ago
nagios-nrpe Merge remote-tracking branch 'origin/nagios-nrpe-amavis-update' into unstable 5 months ago
nameserver Add nameserver role 3 years ago
networkd-to-ifconfig networkd-to-ifconfig: add variables for configuration by variables 9 months ago
newrelic change repositories URL 1 year ago
nginx nginx: read server-status values before changing the config 7 months ago
nodejs nodejs: change default version to 12 (new LTS) 10 months ago
ntpd * ntpd: Update the restrictions to follow wiki.evolix.org/HowtoNTP client config 2 years ago
opendkim Force owner opendkim for /etc/opendkim/ folder 7 months ago
packweb-apache packweb-apache: Install zip & unzip by default 7 months ago
percona Change "|changed" with "is changed" 1 year ago
php php: Don't disable putenv() by default in PHP settings 7 months ago
postfix replace "with_items" in apt modules 1 year ago
postgresql Set handler postgresql with systemctl daemon-reload 10 months ago
proftpd Add TransfertLog to sftp and ftps configuration 4 months ago
rabbitmq replace "with_items" in apt modules 1 year ago
rbenv rbenv: change default Ruby version to 2.7.0 10 months ago
redis redis: variable to force use of port 6379 in instances mode 3 months ago
redmine replace "with_items" in apt modules 1 year ago
remount-usr Add evolix prefix to include_role 1 year ago
spamassasin replace "with_items" in apt modules 1 year ago
squid squid: Update regex for sa-update domains. 7 months ago
ssl whitespaces 1 year ago
supervisord Supervisor: handlers name + tags 3 years ago
tomcat tomcat: root directory owner/group are configurable 4 months ago
tomcat-instance Change "|changed" with "is changed" 1 year ago
unbound whitespaces 1 year ago
varnish varnish: fix start command when multiple addresses are present 7 months ago
vrrpd Add evolix prefix to include_role 1 year ago
webapps nextcloud: Install version 20 instead of 19 3 months ago
.drone.yml Add DroneCI config for build Docker image 1 year ago
.gitignore git ignore .swp files 1 year ago
CHANGELOG.md evoacme: Don't ignore hooks with . in the name (ignore when it's ".disable") 3 months ago
Dockerfile Change Dockerfile Workdir to /data 1 year ago
LICENSE Add the GPLv2 licence 4 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.