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.
Jérémy Lecour 2c11f02554 Merge branch 'unstable' of evolix/ansible-roles into stable 1 week ago
amavis Hot fix: remove .conf suffix because Amavis don't read it! 8 months ago
amazon-ec2 whitespaces 1 year ago
apache change repositories URL 1 month ago
apt typo 1 week ago
bind change repositories URL 1 month ago
clamav whitespaces 1 year ago
dhcpd change repositories URL 1 month ago
docker-host Clean override of docker systemd unit 1 year ago
dovecot dovecot: stronger TLS configuration 7 months ago
drbd change repositories URL 1 month ago
elasticsearch change repositories URL 1 month ago
etc-git change repositories URL 1 month ago
evoacme Merge branch 'unstable' of evolix/ansible-roles into stable 1 week ago
evocheck evocheck : update script from upstream 1 week ago
evolinux-base change repositories URL 1 month ago
evolinux-todo change repositories URL 1 month ago
evolinux-users change repositories URL 1 month ago
evomaintenance evomaintenance: embed version 0.5.0 1 month ago
fail2ban fail2ban: For sshd jail, protect 2222 port too 1 month ago
filebeat change repositories URL 1 month ago
generate-ldif Add postgresql service to generateldif script 7 months ago
haproxy change repositories URL 1 month ago
java change repositories URL 1 month ago
jenkins change repositories URL 1 month ago
kibana change repositories URL 1 month ago
kvm-host change repositories URL 1 month ago
ldap change repositories URL 1 month ago
listupgrade change repositories URL 1 month ago
logstash change repositories URL 1 month ago
lxc We want /home mounted inside the container by default 2 weeks ago
memcached change repositories URL 1 month ago
meta Add meta/main.yml file for ansible galaxy cloning 1 year ago
metricbeat change repositories URL 1 month ago
minifirewall change repositories URL 1 month ago
mongodb apt module: Use "state: present" instead of "state: installed" 11 months ago
monit change repositories URL 1 month ago
munin change repositories URL 1 month ago
mysql change repositories URL 1 month ago
mysql-oracle change repositories URL 1 month ago
nagios-nrpe change repositories URL 1 month ago
nameserver Add nameserver role 1 year ago
networkd-to-ifconfig change repositories URL 1 month ago
newrelic change repositories URL 1 month ago
nginx evocheck : add "x-frame-options: sameorigin" for Munin 1 week ago
nodejs change repositories URL 1 month ago
ntpd * ntpd: Update the restrictions to follow wiki.evolix.org/HowtoNTP client config 3 months ago
opendkim Set correct permissions on folder /etc/opendkim and add package dns-root-data in dependencies 4 weeks ago
packweb-apache change repositories URL 1 month ago
percona New "percona" role to install Percona repositories and tools 2 months ago
php PHP: For sury add packages to preferences 1 week ago
postfix change repositories URL 1 month ago
postgresql change repositories URL 1 month ago
proftpd change repositories URL 1 month ago
rabbitmq change repositories URL 1 month ago
rbenv change repositories URL 1 month ago
redis change repositories URL 1 month ago
redmine redmine: refactoring of redmine role with use of rbenv 2 months ago
remount-usr remount-usr: mount doesn't report a change 8 months ago
spamassasin spamassasin: fix sa-update.sh and ensure service is started and enabled 2 months ago
squid change repositories URL 1 month ago
ssl change repositories URL 1 month ago
supervisord Supervisor: handlers name + tags 1 year ago
tomcat change repositories URL 1 month ago
tomcat-instance change repositories URL 1 month ago
unbound unbound: retrieve list of root DNS servers 1 year ago
varnish change repositories URL 1 month ago
vrrpd change repositories URL 1 month ago
webapps change repositories URL 1 month ago
.gitignore gitignore cleanup 1 year ago
CHANGELOG.md Release 9.9.0 1 week ago
LICENSE Add the GPLv2 licence 2 years ago
README.md change repositories URL 1 month ago
evolix Add an evolix symlink for prefixed roles 1 year ago
java8 java: support for Oracle JRE 10 months 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://gitea.evolix.org/evolix/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://gitea.evolix.org/evolix/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://gitea.evolix.org/evolix/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.