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 6e7acd1abd Merge pull request 'Release 10.4.0' (#121) from unstable into stable 4 weeks 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 apt: disable APT Periodic 1 month ago
bind Merge branch 'bind9_evocheck_fix' into unstable 10 months ago
certbot certbot: detect domains if missing 4 weeks 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 Create system users for vmail (dovecot) and evoadmin 1 month ago
drbd replace "with_items" in apt modules 1 year ago
elasticsearch elasticsearch: keep native values 5 months ago
etc-git Replace version_compare() with version() 11 months ago
evoacme Add directive auth_basic off for nginx configuration 4 weeks ago
evobackup-client evobackup-client: Fix ssh connection test in zzz_evobackup.sh 5 months ago
evocheck evocheck: upstream release 20.12 1 month ago
evolinux-base evolinux-base: install wget 4 months ago
evolinux-todo Add evolix prefix to include_role 1 year ago
evolinux-users evolinux-users: improve uid/login checks 1 month 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 5 months ago
haproxy haproxy: add tags 1 month 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 kvm-host: Add drbd role dependency (toggleable with kvm_install_drbd) 2 months 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 packweb-multiphp: Change default configuration for compatibility 3 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 minifirewall: add variables to force upgrade the script and the config (default: False) 1 month 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 mysql: install save_mysql_processlist script 1 month ago
mysql-oracle mysql-oracle: Update clients' conf to match server's 3 months ago
nagios-nrpe nagios-nrpe: check_amavis: Update regex 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: change from "nginx_status-XXX" to "server-status-XXX" 1 month 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 5 months ago
packweb-apache lxc-php: Make mysql socket binding work on fresh install 7 months ago
percona Change "|changed" with "is changed" 1 year ago
php php: Don't disable putenv() by default in PHP settings 5 months ago
postfix replace "with_items" in apt modules 1 year ago
postgresql Add set variables for debian stretch and jessie 1 month 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 blockinfile: change from "content" to "block" 1 month 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. 5 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 tomcat-instance: fail if uid already exists 1 month ago
unbound whitespaces 1 year ago
varnish varnish: add tags 1 month ago
vrrpd Add evolix prefix to include_role 1 year ago
webapps whitespaces 1 month 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.4.0 4 weeks 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.