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 51cec4bce1 whitespaces 5 months ago
amavis replace "with_items" in apt modules 1 year ago
amazon-ec2 Change default public SSH/SFTP port from 2222 to 22222 8 months ago
apache Replace version_compare() with version() 1 year ago
apt apt: disable APT Periodic 6 months ago
bind Merge branch 'bind9_evocheck_fix' into unstable 1 year ago
certbot cerbot: parse HAProxy config file only if HAProxy is found 5 months ago
clamav Suppression du paquet zoo 1 year ago
dhcpd change repositories URL 2 years ago
docker-host Change "|changed" with "is changed" 1 year ago
dovecot Create system users for vmail (dovecot) and evoadmin 5 months ago
drbd replace "with_items" in apt modules 1 year ago
elasticsearch elasticsearch: keep native values 10 months ago
etc-git Replace version_compare() with version() 1 year ago
evoacme evoacme: upstream release 20.12 5 months ago
evobackup-client evobackup-client: Fix ssh connection test in zzz_evobackup.sh 11 months ago
evocheck evocheck: upstream release 20.12 5 months ago
evolinux-base evolinux-base: install wget 8 months ago
evolinux-todo Add evolix prefix to include_role 1 year ago
evolinux-users evolinux-users: improve uid/login checks 5 months ago
evomaintenance evomaintenance: install the embedded script by default 1 year ago
fail2ban Change default public SSH/SFTP port from 2222 to 22222 8 months ago
filebeat filebeat: add logstash output variables 7 months ago
fluentd fluentd: store gpg key locally 2 years ago
generate-ldif generate-ldif: Patched computerOS detection 10 months ago
haproxy haproxy: add tags 5 months ago
java java: add Java 11 as possible version to install 1 year ago
jenkins Add evolix prefix to role dependencies 1 year ago
kibana Add evolix prefix to include_role 1 year ago
kvm-host kvm-host: Add drbd role dependency (toggleable with kvm_install_drbd) 6 months ago
ldap replace "with_items" in apt modules 1 year ago
listupgrade explicit "force: no" for consistency 1 year ago
logstash Add evolix prefix to role dependencies 1 year ago
lxc lxc: install apparmor on Debian 10 1 year ago
lxc-php packweb-multiphp: Change default configuration for compatibility 7 months ago
lxc-solr Switch to Solr 8.4.1 1 year ago
memcached Fix task when memcached_instance_name 1 year ago
meta Add meta/main.yml file for ansible galaxy cloning 4 years ago
metricbeat metricbeat: allow using a template 9 months ago
minifirewall minifirewall: add variables to force upgrade the script and the config (default: False) 5 months ago
mongodb mongodb: Fix issue introduced by 8aa7f6cf3366606010407ee0af4687c7a716463f 9 months ago
monit change repositories URL 2 years ago
munin Change "|search" with "is search" 1 year ago
mysql mysql: install save_mysql_processlist script 5 months ago
mysql-oracle mysql-oracle: Update clients' conf to match server's 7 months ago
nagios-nrpe Merge remote-tracking branch 'origin/nagios-nrpe-amavis-update' into unstable 9 months ago
nameserver Add nameserver role 4 years ago
networkd-to-ifconfig networkd-to-ifconfig: add variables for configuration by variables 1 year ago
newrelic change repositories URL 2 years ago
nginx nginx: read server-status values before changing the config 11 months ago
nodejs nodejs: change default version to 12 (new LTS) 1 year 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 11 months ago
packweb-apache lxc-php: Make mysql socket binding work on fresh install 11 months ago
percona Change "|changed" with "is changed" 1 year ago
php php: Don't disable putenv() by default in PHP settings 11 months ago
postfix replace "with_items" in apt modules 1 year ago
postgresql Add set variables for debian stretch and jessie 5 months ago
proftpd Add TransfertLog to sftp and ftps configuration 8 months ago
rabbitmq replace "with_items" in apt modules 1 year ago
rbenv rbenv: change default Ruby version to 2.7.0 1 year ago
redis blockinfile: change from "content" to "block" 5 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. 11 months ago
ssl whitespaces 2 years ago
supervisord Supervisor: handlers name + tags 4 years ago
tomcat tomcat: root directory owner/group are configurable 8 months ago
tomcat-instance tomcat-instance: fail if uid already exists 5 months ago
unbound whitespaces 2 years ago
varnish varnish: add tags 5 months ago
vrrpd Add evolix prefix to include_role 1 year ago
webapps whitespaces 5 months ago
.drone.yml Add DroneCI config for build Docker image 2 years ago
.gitignore git ignore .swp files 2 years ago
CHANGELOG.md varnish: variable for jail configuration 5 months ago
Dockerfile Change Dockerfile Workdir to /data 2 years ago
LICENSE Add the GPLv2 licence 4 years ago
README.md change repositories URL 2 years ago
evolix Add an evolix symlink for prefixed roles 3 years ago
java8 java: support for Oracle JRE 3 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.