Ansible roles by Evolix
Go to file
Jérémy Lecour b883d63cc5 Merge branch 'unstable' into stable 2019-01-17 18:13:16 +01:00
amavis Hot fix: remove .conf suffix because Amavis don't read it! 2018-08-20 22:25:06 +02:00
amazon-ec2 whitespaces 2018-04-04 23:21:31 +02:00
apache apache: add Munin configuration for Apache server-status URL 2019-01-01 21:08:51 +01:00
apt add name for some fail modules 2017-11-21 10:17:46 +01:00
bind bind: chroot-bind.sh must not be executed in check mode 2018-08-21 18:46:16 +02:00
clamav whitespaces 2018-04-04 23:21:31 +02:00
dhcpd Rename dhcp to dhcpd 2017-07-13 16:10:11 +02:00
docker-host Clean override of docker systemd unit 2017-09-29 09:31:52 -04:00
dovecot dovecot: stronger TLS configuration 2018-09-11 11:13:02 +02:00
drbd Move /usr rw remount into remount-usr role 2017-11-07 13:34:05 +01:00
elasticsearch elasticsearch: fix condition for tmpdir 2018-09-20 12:13:21 +02:00
etc-git etc-git: status cron job is run by root 2018-09-10 10:04:21 +02:00
evoacme Merge branch 'unstable' into stable 2018-12-04 14:51:33 +01:00
evocheck evocheck: update evocheck.sh for source install 2019-01-08 10:25:10 +01:00
evolinux-base normalize some arguments positions 2019-01-01 20:02:50 +01:00
evolinux-todo evolinux-todo: don't echo "nothing…" when verbosity=0 2018-08-24 18:27:03 +02:00
evolinux-users evolinux-users: add newaliases handler 2018-11-14 17:04:51 +01:00
evomaintenance evomaintenance: database variables must be set or the task fails 2018-12-11 12:08:04 +01:00
fail2ban Adds ips tag to fail2ban/tasks/ip_whitelist.yml 2019-01-10 17:03:14 -05:00
filebeat filebeat: cleanup unused code 2018-05-09 20:57:32 +02:00
generate-ldif Add postgresql service to generateldif script 2018-09-13 17:30:30 +02:00
haproxy haproxy: add vars for tls configuration 2018-11-13 11:07:06 +01:00
java java: update Oracle java package to 8u192 2019-01-10 16:16:35 +01:00
jenkins java: support for Oracle JRE 2018-06-11 10:39:52 +02:00
kibana kibana: log messages go to /var/log/kibana/kibana.log 2018-05-22 15:17:16 +02:00
kvm-host kvm-host: install kvm-tools package instead of copying add-vm.sh 2018-07-27 11:27:50 +02:00
ldap ldap|nagios-nrpe: use external file for NRPE credentials 2018-01-24 16:49:07 +01:00
listupgrade listupgrade: Add service restart notification for squid 2018-04-06 10:42:46 +02:00
logstash logstash: limit to 512M by default 2018-09-20 12:13:21 +02:00
lxc Fix multiple bugs in lxc role after testing 2017-08-24 12:09:41 -04:00
memcached memcached: improve systemd units management 2018-08-09 17:46:31 +02:00
meta Add meta/main.yml file for ansible galaxy cloning 2017-11-14 22:16:17 +01:00
metricbeat metricbeat: add a variable for the protocol to use with Elasticsearch 2019-01-08 11:05:27 +01:00
minifirewall normalize some arguments positions 2019-01-01 20:02:50 +01:00
mongodb apt module: Use "state: present" instead of "state: installed" 2018-05-18 09:33:25 +02:00
monit minor fix: true -> True 2017-08-31 03:23:07 +02:00
munin munin: better marker for blockinfile 2019-01-01 20:06:05 +01:00
mysql mysql: logdir can be customized 2018-11-14 16:13:06 +01:00
mysql-oracle mysql-oracle: remove mysql-apt-config 0.8.10 2018-09-28 10:45:50 +02:00
nagios-nrpe nagios-nrpe: check_process now return the error code (making the check more usefull than /bin/true) 2018-12-12 14:58:12 +01:00
nameserver Add nameserver role 2017-05-19 12:06:37 +02:00
networkd-to-ifconfig Add a role to switch from networkd to ifconfig 2018-09-14 14:53:38 +02:00
newrelic apt module: Use "state: present" instead of "state: installed" 2018-05-18 09:33:25 +02:00
nginx nginx: Munin url config is now a template to insert the server-status prefix 2018-12-05 16:25:48 +01:00
nodejs nodejs: Update yarn repo GPG key (current key expired) 2019-01-09 10:49:20 +01:00
ntpd ntpd: Follow the example config given on https://wiki.evolix.org/HowtoNTP 2018-05-02 19:25:51 +02:00
opendkim whitespaces 2018-04-04 23:21:31 +02:00
packweb-apache whitespaces 2019-01-01 20:04:56 +01:00
php php: added php-zip in the installed package list for debian 9 (and later) 2019-01-10 19:12:53 +01:00
postfix enable SSL/TLS client, cf https://wiki.evolix.org/HowtoPostfix#ssltls 2018-10-31 02:20:54 +01:00
postgresql apt module: Use "state: present" instead of "state: installed" 2018-05-18 09:33:25 +02:00
proftpd whitespaces 2018-04-04 23:21:31 +02:00
rabbitmq apt module: Use "state: present" instead of "state: installed" 2018-05-18 09:33:25 +02:00
rbenv rbenv: add pkg-config to the list of packages to install 2019-01-03 10:16:46 +01:00
redis redis: add a variable for renamed/disabled commands 2019-01-08 10:04:27 +01:00
redmine redmine: use .my.cnf for mysql password 2018-06-22 10:49:24 +02:00
remount-usr remount-usr: mount doesn't report a change 2018-08-06 15:01:52 +02:00
spamassasin * spamassassin: add missing right for amavis 2018-10-03 14:41:41 +02:00
squid squid: added packagist.org in the whitelist 2019-01-10 18:12:03 +01:00
ssl ssl: add handler for haproxy reload 2018-11-14 15:39:45 +01:00
supervisord Supervisor: handlers name + tags 2017-11-13 17:48:50 +01:00
tomcat tomcat: better nrpe check output 2018-07-03 12:24:11 +02:00
tomcat-instance whitespaces 2018-04-04 23:21:31 +02:00
unbound unbound: retrieve list of root DNS servers 2018-01-11 12:41:40 +01:00
varnish varnish: Add -F to the sustemd unit to not fork at start 2018-05-04 11:38:11 +02:00
vrrpd Rename role "apt-repositories" to "apt" 2017-07-19 08:56:46 +02:00
webapps evoadmin-mail: complete refactoring, use Debian Package 2018-12-07 15:26:08 +01:00
.gitignore gitignore cleanup 2017-07-03 18:24:13 +02:00
CHANGELOG.md Release 9.7.0 2019-01-17 18:11:46 +01:00
LICENSE Add the GPLv2 licence 2017-01-05 18:22:06 +01:00
README.md ansible-roles is now only-Linux compatible, and add precision for compatibility (Debian 9 and accidentally Debian 8) 2017-08-18 02:58:26 +02:00
evolix Add an evolix symlink for prefixed roles 2018-03-20 13:32:38 +01:00
java8 java: support for Oracle JRE 2018-06-11 10:39:52 +02:00

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://forge.evolix.org/projects/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://forge.evolix.org/projects/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://forge.evolix.org/projects/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.