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.
 
 
 
 
 
 
Victor Laborie 419c7f4cdf Add meta/main.yml file for ansible galaxy cloning 3 years ago
amavis postfix: always include amavis and opendkim config when packmail 3 years ago
apache Move /usr rw remount into remount-usr role 3 years ago
apt apt: use conditionnal instead of handler for update 3 years ago
bind Big review of role Bind, sync with https://wiki.evolix.org/HowtoBind 3 years ago
clamav clamav: configure debconf before install packages 3 years ago
dhcpd Rename dhcp to dhcpd 3 years ago
docker-host Clean override of docker systemd unit 3 years ago
dovecot dovecot: login_max_processes_count is obsolete 3 years ago
drbd Move /usr rw remount into remount-usr role 3 years ago
elasticsearch Elasticsearch: daily job for log rotation 3 years ago
etc-git etc-git: scope=local is not always supported 3 years ago
evoacme evoacme: use xargs instead of while 3 years ago
evocheck Move /usr rw remount into remount-usr role 3 years ago
evolinux-base Move /usr rw remount into remount-usr role 3 years ago
evolinux-users Don't add the trap if it is present or commented 3 years ago
evomaintenance evomainteance should not install the trap itself 3 years ago
fail2ban fail2ban: add roundcube filter 3 years ago
filebeat Elastic: fix source list filename 3 years ago
generate-ldif Move /usr rw remount into remount-usr role 3 years ago
haproxy haproxy: add a Nagios check 3 years ago
java8 java8: we only need the headless variant 3 years ago
jenkins cleanup with dependencies on java8 3 years ago
kibana kibana: move optimize and data to /var 3 years ago
kvm-host Move /usr rw remount into remount-usr role 3 years ago
ldap ldap: fix domain and cn 3 years ago
listupgrade Revert "listupgrade: add missing include remount-usr role" 3 years ago
logstash logstash: daily job for log rotation 3 years ago
lxc Fix multiple bugs in lxc role after testing 3 years ago
memcached update title 3 years ago
meta Add meta/main.yml file for ansible galaxy cloning 3 years ago
minifirewall Minifirewall can deal with evomaintenance 3 years ago
mongodb MongoDB: fix syntax mistake 3 years ago
monit minor fix: true -> True 3 years ago
munin Delete OpenBSD stuff (mv to another repo), ansible-roles is now Linux-specific (even Debian-specific) 3 years ago
mysql mysql: better support for check mode 3 years ago
nagios-nrpe Fix for OpenBSD 6.2 3 years ago
nameserver Add nameserver role 3 years ago
newrelic Remove dynamic add of whitelist Squid proxy 3 years ago
nginx nginx: fix ip filtering in default vhost 3 years ago
nodejs download gpg in repo, we want to be independant from network as possible 3 years ago
ntpd remove interface ignore wildcard because it breaks ntp sync with external servers 3 years ago
opendkim Move /usr rw remount into remount-usr role 3 years ago
packweb-apache packweb-apache: comment cron task instead of remove it and don't remove buildstatic.sh 3 years ago
php php: fix right on custom conf files 3 years ago
postfix Move /usr rw remount into remount-usr role 3 years ago
postgresql postgresql: Add missing package, libdbd-pg-perl needed by munin-plugins 3 years ago
proftpd proftpd: add default_address + port 3 years ago
rabbitmq Kitchen: Change base image to evolix/ansible 3 years ago
rbenv rbenv: add "gem: --no-document" 3 years ago
redis mysql: better support for check mode 3 years ago
redmine redmine: set loglevel to warn 3 years ago
remount-usr Move /usr rw remount into remount-usr role 3 years ago
spamassasin Move /usr rw remount into remount-usr role 3 years ago
squid Squid: restart minifirewall if needed 3 years ago
supervisord Supervisor: handlers name + tags 3 years ago
tomcat Move /usr rw remount into remount-usr role 3 years ago
tomcat-instance tomcat-instance: default rng set to /dev/urandom 3 years ago
unbound Delete OpenBSD stuff (mv to another repo), ansible-roles is now Linux-specific (even Debian-specific) 3 years ago
varnish Move /usr rw remount into remount-usr role 3 years ago
vrrpd Rename role "apt-repositories" to "apt" 3 years ago
webapps roundcube: add link in default site index 3 years ago
.gitignore gitignore cleanup 3 years ago
LICENSE Add the GPLv2 licence 3 years ago
README.md ansible-roles is now only-Linux compatible, and add precision for compatibility (Debian 9 and accidentally Debian 8) 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://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.