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 beb39988e7 git ignore .swp files 2 years ago
amavis Hot fix: remove .conf suffix because Amavis don't read it! 3 years ago
amazon-ec2 whitespaces 4 years ago
apache apache: Add missing part for munin cgi 2 years ago
apt apt: check if cron is installed before adding a cron job 2 years ago
bind change repositories URL 3 years ago
certbot improve hooks maintainability 2 years ago
clamav whitespaces 4 years ago
dhcpd change repositories URL 3 years ago
docker-host all-roles: Dot not use ansible_lsb as it is deprecated 2 years ago
dovecot dovecot: stronger TLS configuration 3 years ago
drbd change repositories URL 3 years ago
elasticsearch elasticsearch: listen on local interface only by default 2 years ago
etc-git etc-git: gitignore /etc/letsencrypt/.certbot.lock 2 years ago
evoacme all-roles: Dot not use ansible_lsb as it is deprecated 2 years ago
evocheck update evocheck.sh in evocheck role 2 years ago
evolinux-base Merge branch 'buster' into unstable 2 years ago
evolinux-todo change repositories URL 3 years ago
evolinux-users all-roles: Dot not use ansible_lsb as it is deprecated 2 years ago
evomaintenance evomaintenance: upstream version 0.5.1 2 years ago
fail2ban fail2ban: For sshd jail, protect 2222 port too 3 years ago
filebeat change repositories URL 3 years ago
fluentd all-roles: Dot not use ansible_lsb as it is deprecated 2 years ago
generate-ldif whitespaces 2 years ago
haproxy haproxy: add another variable for configuration 2 years ago
java all-roles: Dot not use ansible_lsb as it is deprecated 2 years ago
jenkins change repositories URL 3 years ago
kibana change repositories URL 3 years ago
kvm-host Add vlan package 2 years ago
ldap change repositories URL 3 years ago
listupgrade listupgrade: install old-kernel-autoremoval script 2 years ago
logstash change repositories URL 3 years ago
lxc lxc: rely on lxc_container module instead of command module 2 years ago
lxc-php git ignore .swp files 2 years ago
lxc-solr We want Solr to run on an alternative port 2 years ago
memcached change repositories URL 3 years ago
meta Add meta/main.yml file for ansible galaxy cloning 4 years ago
metricbeat change repositories URL 3 years ago
minifirewall minifirewall: use systemctl is-enabled 2 years ago
mongodb mongodb: still incompatible with Debian 10 2 years ago
monit change repositories URL 3 years ago
munin change repositories URL 3 years ago
mysql Merge branch 'buster' into unstable 2 years ago
mysql-oracle all-roles: Dot not use ansible_lsb as it is deprecated 2 years ago
nagios-nrpe nagios-nrpe: Replace the dummy packages nagios-plugins-* with monitoring-plugins-* 2 years ago
nameserver Add nameserver role 5 years ago
networkd-to-ifconfig change repositories URL 3 years ago
newrelic change repositories URL 3 years ago
nginx nginx: fix munin fcgi not working (missing chmod 660 on logs) 2 years ago
nodejs all-roles: Dot not use ansible_lsb as it is deprecated 2 years ago
ntpd * ntpd: Update the restrictions to follow wiki.evolix.org/HowtoNTP client config 3 years ago
opendkim Set correct permissions on folder /etc/opendkim and add package dns-root-data in dependencies 3 years ago
packweb-apache Merge branch 'buster' into unstable 2 years ago
percona all-roles: Dot not use ansible_lsb as it is deprecated 2 years ago
php Fix condition in main task 2 years ago
postfix change repositories URL 3 years ago
postgresql whitespaces 2 years ago
proftpd change repositories URL 3 years ago
rabbitmq change repositories URL 3 years ago
rbenv rbenv: install Ruby 2.6.3 by default 2 years ago
redis redis: improve check_redis_instances 2 years ago
redmine redmine: fix 500 error on logging 2 years ago
remount-usr remount-usr: mount doesn't report a change 3 years ago
spamassasin whitespaces 2 years ago
squid squid: install systemd unit and restart only if needed 2 years ago
ssl whitespaces 3 years ago
supervisord Supervisor: handlers name + tags 4 years ago
tomcat tomcat: fix typo for default tomcat_version 2 years ago
tomcat-instance whitespaces 2 years ago
unbound whitespaces 2 years ago
varnish remove reload-vcl.sh (Custom Varnish ExecReload script) when Debian >= 10 2 years ago
vrrpd change repositories URL 3 years ago
webapps evoadmin-web: Put the php config at the right place for Buster 2 years ago
.drone.yml Add DroneCI config for build Docker image 2 years ago
.gitignore git ignore .swp files 2 years ago
CHANGELOG.md haproxy: add a variable to keep the existing configuration 2 years 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 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.