Ansible roles by Evolix
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Romain Dessort 8ed1aaf160 Fix multiple bugs in lxc role after testing 6 years ago
admin-users Improve distribution verification 6 years ago
apache Fix "Unable to reload service munin-node: Failed to reload munin-node.service: Job type reload is not applicable for unit munin-node.service.\n" 6 years ago
apt download gpg in repo, we want to be independant from network as possible 6 years ago
bind Big review of role Bind, sync with https://wiki.evolix.org/HowtoBind 6 years ago
dhcpd Rename dhcp to dhcpd 6 years ago
docker-host download gpg in repo, we want to be independant from network as possible 6 years ago
drbd Rename drbd-utils to drbd 6 years ago
elasticsearch Fix systemd handler to restart elasticsearch with systemd 6 years ago
etc-git Make git commit task not to fail if user.email is undefined 6 years ago
evoacme Improve distribution verification 6 years ago
evocheck apt-listchanges is not installed anymore 6 years ago
evolinux-base Improve distribution verification 6 years ago
evomaintenance evomaintenance: check if minifirewall is installed 6 years ago
fail2ban fail2ban: unindent notify attribute 6 years ago
filebeat merge elastic sources back into roles 6 years ago
haproxy Rename role "apt-repositories" to "apt" 6 years ago
java8 java8: fix install on stretch 6 years ago
jenkins test jenkins role on Debian 8 and 9 6 years ago
kibana Kibana: merge the proxy back into the main role 6 years ago
kvm-host kvm-host: images path is customizable 6 years ago
ldap Kitchen: Change base image to evolix/ansible 6 years ago
listupgrade Remove yet some other backups 6 years ago
logstash merge elastic sources back into roles 6 years ago
lxc Fix multiple bugs in lxc role after testing 6 years ago
memcached Kitchen: Change base image to evolix/ansible 6 years ago
minifirewall minifirewall: embed files instead of git clone 6 years ago
mongodb download gpg in repo, we want to be independant from network as possible 6 years ago
monit Kitchen: Change base image to evolix/ansible 6 years ago
munin review default vars 6 years ago
mysql review default vars 6 years ago
nagios-nrpe review default vars 6 years ago
nameserver Add nameserver role 6 years ago
newrelic Remove dynamic add of whitelist Squid proxy 6 years ago
newsyslog remove a few useless "backup: yes" 6 years ago
nginx nginx: disable spdy in default vhost 6 years ago
nodejs download gpg in repo, we want to be independant from network as possible 6 years ago
ntpd Rename ntp to ntpd 6 years ago
packweb-apache First step to use new evoadmin / FPM 6 years ago
php Improve distribution verification 6 years ago
postfix add main.cf hash for stretch 6 years ago
postgresql download gpg in repo, we want to be independant from network as possible 6 years ago
proftpd proftpd role : add TimesGMT option to off to conform to https://wiki.evolix.org/HowtoProFTPD (thanks to jdubois) 6 years ago
rabbitmq Kitchen: Change base image to evolix/ansible 6 years ago
rbenv rbenv: add "gem: --no-document" 6 years ago
redis redis: && → and 6 years ago
squid Improve distribution verification 6 years ago
supervisord supervisord: don't overwrite existing http.conf 6 years ago
tomcat tomcat: disable default tomcat7 service 6 years ago
tomcat-instance tomcat-instance: default rng set to /dev/urandom 6 years ago
unbound add test infrastucture, with gperiard help 6 years ago
varnish Remove some backups, again 6 years ago
vrrpd Rename role "apt-repositories" to "apt" 6 years ago
webapps First step to use new evoadmin / FPM 6 years ago
.gitignore gitignore cleanup 6 years ago
LICENSE Add the GPLv2 licence 6 years ago
README.md ansible-roles is now only-Linux compatible, and add precision for compatibility (Debian 9 and accidentally Debian 8) 6 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://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.