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