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 77d0081cbe Merge branch 'unstable' of evolix/ansible-roles into stable 9 months ago
amavis Hot fix: remove .conf suffix because Amavis don't read it! 1 year ago
amazon-ec2 whitespaces 2 years ago
apache apache: add a variable to customize the server-status host 9 months ago
apt tags and whitespaces 9 months ago
bind change repositories URL 1 year ago
clamav whitespaces 2 years ago
dhcpd change repositories URL 1 year ago
docker-host Clean override of docker systemd unit 2 years ago
dovecot dovecot: stronger TLS configuration 1 year ago
drbd change repositories URL 1 year ago
elasticsearch change repositories URL 1 year ago
etc-git etc-git: gitignore /etc/letsencrypt/.certbot.lock 9 months ago
evoacme Merge branch 'unstable' of evolix/ansible-roles into stable 11 months ago
evocheck evocheck : update (version 19.06) from upstream 9 months ago
evolinux-base Revert "evolinux-base: install "spectre-meltdown-checker" (Debian 9 and later)" 9 months ago
evolinux-todo change repositories URL 1 year ago
evolinux-users evolinux-users: Validate sshd config with "-t" instead of "-T" 9 months ago
evomaintenance evomaintenance: make hooks configurable 9 months ago
fail2ban fail2ban: For sshd jail, protect 2222 port too 1 year ago
filebeat change repositories URL 1 year ago
fluentd fluentd: store gpg key locally 9 months ago
generate-ldif Add postgresql service to generateldif script 1 year ago
haproxy haproxy: validate is a module attribute 10 months ago
java change repositories URL 1 year ago
jenkins change repositories URL 1 year ago
kibana change repositories URL 1 year ago
kvm-host Add vlan package 10 months ago
ldap change repositories URL 1 year ago
listupgrade change repositories URL 1 year ago
logstash change repositories URL 1 year ago
lxc whitespaces and syntax 9 months ago
lxc-php Add lxc-php README file 9 months ago
memcached change repositories URL 1 year ago
meta Add meta/main.yml file for ansible galaxy cloning 2 years ago
metricbeat change repositories URL 1 year ago
minifirewall whitespaces 10 months ago
mongodb apt module: Use "state: present" instead of "state: installed" 1 year ago
monit change repositories URL 1 year ago
munin change repositories URL 1 year ago
mysql change repositories URL 1 year ago
mysql-oracle change repositories URL 1 year ago
nagios-nrpe nagios-nrpe: Replace the dummy packages nagios-plugins-* with monitoring-plugins-* 9 months ago
nameserver Add nameserver role 2 years ago
networkd-to-ifconfig change repositories URL 1 year ago
newrelic change repositories URL 1 year ago
nginx apache/nginx: fix server-status replacement 11 months ago
nodejs change repositories URL 1 year ago
ntpd * ntpd: Update the restrictions to follow wiki.evolix.org/HowtoNTP client config 1 year ago
opendkim Set correct permissions on folder /etc/opendkim and add package dns-root-data in dependencies 1 year ago
packweb-apache change repositories URL 1 year ago
percona New "percona" role to install Percona repositories and tools 1 year ago
php php: Stop enforcing /var/www/html as chroot while we use /var/www..... 10 months ago
postfix change repositories URL 1 year ago
postgresql whitespaces 10 months ago
proftpd change repositories URL 1 year ago
rabbitmq change repositories URL 1 year ago
rbenv rbenv: install Ruby 2.6.3 by default 9 months ago
redis change repositories URL 1 year ago
redmine redmine: fix 500 error on logging 10 months ago
remount-usr remount-usr: mount doesn't report a change 1 year ago
spamassasin spamassasin: fix sa-update.sh and ensure service is started and enabled 1 year ago
squid Add deb.nodesource.com in default Squid whitelist 11 months ago
ssl whitespaces 11 months ago
supervisord Supervisor: handlers name + tags 2 years ago
tomcat change repositories URL 1 year ago
tomcat-instance whitespaces 10 months ago
unbound whitespaces 10 months ago
varnish change repositories URL 1 year ago
vrrpd change repositories URL 1 year ago
webapps Add proxy_fcgi activation for multi php 9 months ago
.drone.yml Add DroneCI config for build Docker image 9 months ago
.gitignore gitignore cleanup 2 years ago
CHANGELOG.md Release 9.10.1 9 months ago
Dockerfile Change Dockerfile Workdir to /data 9 months 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 1 year 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.