Ansible roles by Evolix
Go to file
Jérémy Lecour 9f9894344d etc-git: scope=local is not always supported
git version 1.7.2.5 (Debian 7) doesn't have "--local" scope
2017-09-29 12:01:06 +02:00
admin-users Improve distribution verification 2017-08-23 01:49:27 +02:00
apache we need force=no for files who will be lineinfile/blockinfile 2017-09-07 02:32:08 +02:00
apt For GANDI installs, remove useless (and nasty) sources.list.d/*.list files 2017-09-29 01:43:54 +02:00
bind Big review of role Bind, sync with https://wiki.evolix.org/HowtoBind 2017-07-22 18:40:00 +02:00
dhcpd Rename dhcp to dhcpd 2017-07-13 16:10:11 +02:00
docker-host download gpg in repo, we want to be independant from network as possible 2017-08-23 02:50:17 +02:00
drbd Rename drbd-utils to drbd 2017-07-13 16:11:25 +02:00
elasticsearch Fix systemd handler to restart elasticsearch with systemd 2017-08-04 10:48:49 -04:00
etc-git etc-git: scope=local is not always supported 2017-09-29 12:01:06 +02:00
evoacme evoacme: renew certs 30 days before expiration by default 2017-09-18 15:02:20 +02:00
evocheck Delete OpenBSD stuff (mv to another repo), ansible-roles is now Linux-specific (even Debian-specific) 2017-08-29 03:09:57 +02:00
evolinux-base evolinux-base: fallback with warning for ssh without addresses 2017-09-14 14:26:00 +02:00
evomaintenance evomainteance should not install the trap itself 2017-09-05 15:24:51 +02:00
fail2ban fail2ban: unindent notify attribute 2017-07-19 12:06:19 +02:00
filebeat merge elastic sources back into roles 2017-07-13 14:43:07 +02:00
haproxy haproxy: add a Nagios check 2017-09-19 09:37:38 +02:00
java8 java8: fix install on stretch 2017-07-20 18:21:46 +02:00
jenkins test jenkins role on Debian 8 and 9 2017-08-23 02:00:42 +02:00
kibana Kibana: merge the proxy back into the main role 2017-07-13 14:58:44 +02:00
kvm-host kvm-host: images path is customizable 2017-07-19 01:34:13 +02:00
ldap Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
listupgrade Remove yet some other backups 2017-07-18 19:40:56 +02:00
logstash merge elastic sources back into roles 2017-07-13 14:43:07 +02:00
lxc Fix multiple bugs in lxc role after testing 2017-08-24 12:09:41 -04:00
memcached Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
minifirewall ensure iptables is installed 2017-09-29 01:43:31 +02:00
mongodb MongoDB: fix syntax mistake 2017-09-04 17:17:51 +02:00
monit minor fix: true -> True 2017-08-31 03:23:07 +02:00
munin Delete OpenBSD stuff (mv to another repo), ansible-roles is now Linux-specific (even Debian-specific) 2017-08-29 03:09:57 +02:00
mysql MySQL: "REPLICATION CLIENT" privilege for nrpe 2017-09-20 11:33:27 +02:00
nagios-nrpe Delete OpenBSD stuff (mv to another repo), ansible-roles is now Linux-specific (even Debian-specific) 2017-08-29 03:09:57 +02:00
nameserver Add nameserver role 2017-05-19 12:06:37 +02:00
newrelic Remove dynamic add of whitelist Squid proxy 2017-08-23 01:26:57 +02:00
nginx nginx: apt preferences for libnginx packages 2017-09-12 15:16:03 +02:00
nodejs download gpg in repo, we want to be independant from network as possible 2017-08-23 02:50:17 +02:00
ntpd remove interface ignore wildcard because it breaks ntp sync with external servers 2017-09-14 19:09:22 +02:00
packweb-apache quick fix to avoid exit 1 2017-09-28 11:10:25 +02:00
php php: install php5/php package after fpm/libapache2-mod-php 2017-09-19 10:29:57 +02:00
postfix add main.cf hash for stretch 2017-08-23 03:13:04 +02:00
postgresql download gpg in repo, we want to be independant from network as possible 2017-08-23 02:50:17 +02:00
proftpd proftpd role : add TimesGMT option to off to conform to https://wiki.evolix.org/HowtoProFTPD (thanks to jdubois) 2017-08-17 14:51:17 +02:00
rabbitmq Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
rbenv rbenv: add "gem: --no-document" 2017-05-23 15:14:39 +02:00
redis redis: && → and 2017-06-12 16:37:56 +02:00
redmine redmine: don't change when touch nginx log files 2017-08-31 11:07:59 +02:00
squid Squid: restart minifirewall if needed 2017-09-20 10:30:24 +02:00
supervisord supervisord: don't overwrite existing http.conf 2017-06-12 19:38:24 +02:00
tomcat tomcat: disable default tomcat7 service 2017-07-06 12:42:08 +02:00
tomcat-instance tomcat-instance: default rng set to /dev/urandom 2017-07-13 13:51:15 +02:00
unbound Delete OpenBSD stuff (mv to another repo), ansible-roles is now Linux-specific (even Debian-specific) 2017-08-29 03:09:57 +02:00
varnish Use /etc/systemd/system/*.service.d/evolinux.conf and fix systemd unit 2017-09-14 19:30:59 +02:00
vrrpd Rename role "apt-repositories" to "apt" 2017-07-19 08:56:46 +02:00
webapps we need www-evoadmin user in Debian 9 2017-09-18 22:36:14 +02:00
.gitignore gitignore cleanup 2017-07-03 18:24:13 +02: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

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.