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 fbd97a5f08 java: support for Oracle JRE 5 years ago
amavis postfix: always include amavis and opendkim config when packmail 5 years ago
amazon-ec2 whitespaces 5 years ago
apache apt module: Use "state: present" instead of "state: installed" 5 years ago
apt add name for some fail modules 5 years ago
bind bind: keep 52 weeks of logs 5 years ago
clamav whitespaces 5 years ago
dhcpd Rename dhcp to dhcpd 5 years ago
docker-host Clean override of docker systemd unit 5 years ago
dovecot dovecot: login_max_processes_count is obsolete 5 years ago
drbd Move /usr rw remount into remount-usr role 5 years ago
elasticsearch java: support for Oracle JRE 5 years ago
etc-git etc-git: add tags for Ansible 5 years ago
evoacme evoacme: add a symlink for vhosts with old path 5 years ago
evocheck apt module: Use "state: present" instead of "state: installed" 5 years ago
evolinux-base apt module: Use "state: present" instead of "state: installed" 5 years ago
evolinux-users nagios-nrpe: use bkctld check subcommand for NRPE check 5 years ago
evomaintenance evomaintenance: remove double-quotes where not necessary 5 years ago
fail2ban fail2ban: fix horrible typo, Python is not Ruby 5 years ago
filebeat filebeat: cleanup unused code 5 years ago
generate-ldif generate-ldif: add a minifirewall service when /etc/default/minifirewall exists 5 years ago
haproxy apt module: Use "state: present" instead of "state: installed" 5 years ago
java java: support for Oracle JRE 5 years ago
jenkins java: support for Oracle JRE 5 years ago
kibana kibana: log messages go to /var/log/kibana/kibana.log 5 years ago
kvm-host Move /usr rw remount into remount-usr role 5 years ago
ldap ldap|nagios-nrpe: use external file for NRPE credentials 5 years ago
listupgrade listupgrade: Add service restart notification for squid 5 years ago
logstash java: support for Oracle JRE 5 years ago
lxc Fix multiple bugs in lxc role after testing 5 years ago
memcached memcached: add Nagios check for memcached (evoqa #3498) 5 years ago
meta Add meta/main.yml file for ansible galaxy cloning 5 years ago
minifirewall minifirewall: the tail file can be overwritten, or not 5 years ago
mongodb apt module: Use "state: present" instead of "state: installed" 5 years ago
monit minor fix: true -> True 5 years ago
munin Ensure munin plugins for Postfix are enabled 5 years ago
mysql mysql: add an option to install the dev client libraries 5 years ago
mysql-oracle mysql: add an option to install the dev client libraries 5 years ago
nagios-nrpe nagios-nrpe: use bkctld check subcommand for NRPE check 5 years ago
nameserver Add nameserver role 6 years ago
newrelic apt module: Use "state: present" instead of "state: installed" 5 years ago
nginx nginx: don't debug variables in verbosity 0 5 years ago
nodejs nodejs: extract yarn tasks in a file 5 years ago
ntpd ntpd: Follow the example config given on https://wiki.evolix.org/HowtoNTP 5 years ago
opendkim whitespaces 5 years ago
packweb-apache Don't copy empty files 5 years ago
php php: fix permissions on custom php.ini file 5 years ago
postfix Patch dovecot deliver to handle + sign in address. 5 years ago
postgresql apt module: Use "state: present" instead of "state: installed" 5 years ago
proftpd whitespaces 5 years ago
rabbitmq apt module: Use "state: present" instead of "state: installed" 5 years ago
rbenv rbenv: switch from copy to lineinfile for default gems 5 years ago
redis don't use jinja2 templating delimiters with "when" statements 5 years ago
redmine remine: add tags 5 years ago
remount-usr remount-usr: Add README 5 years ago
spamassasin packmail (postfix + spamassassin): fix cron.d spam and sa-update 5 years ago
squid squid: whiteliste some news sites 5 years ago
supervisord Supervisor: handlers name + tags 5 years ago
tomcat tomcat: compatible with Tomcat7 and Tomcat8 5 years ago
tomcat-instance whitespaces 5 years ago
unbound unbound: retrieve list of root DNS servers 5 years ago
varnish varnish: Add -F to the sustemd unit to not fork at start 5 years ago
vrrpd Rename role "apt-repositories" to "apt" 5 years ago
webapps apt module: Use "state: present" instead of "state: installed" 5 years ago
.gitignore gitignore cleanup 6 years ago
CHANGELOG.md java: support for Oracle JRE 5 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) 5 years ago
evolix Add an evolix symlink for prefixed roles 5 years ago
java8 java: support for Oracle JRE 5 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.