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

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.