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
Jérémy Lecour bd8644ae60 whitespaces 4 years ago
amavis Hot fix: remove .conf suffix because Amavis don't read it! 5 years ago
amazon-ec2 whitespaces 5 years ago
apache This task has to be move after /etc/apache2/sites-available/000-evolinux-default.conf is created otherwise it's complaining about 000-evolinux-default.conf being missing 4 years ago
apt apt: add a script to manage packages with "hold" mark 4 years ago
bind change repositories URL 4 years ago
clamav whitespaces 5 years ago
dhcpd change repositories URL 4 years ago
docker-host Clean override of docker systemd unit 6 years ago
dovecot dovecot: stronger TLS configuration 5 years ago
drbd change repositories URL 4 years ago
elasticsearch change repositories URL 4 years ago
etc-git change repositories URL 4 years ago
evoacme change repositories URL 4 years ago
evocheck evocheck : version 19.04 from upstream 4 years ago
evolinux-base change repositories URL 4 years ago
evolinux-todo change repositories URL 4 years ago
evolinux-users whitespaces 4 years ago
evomaintenance whitespaces 4 years ago
fail2ban fail2ban: For sshd jail, protect 2222 port too 4 years ago
filebeat change repositories URL 4 years ago
fluentd Add fluentd installation role 4 years ago
generate-ldif Add postgresql service to generateldif script 5 years ago
haproxy change repositories URL 4 years ago
java change repositories URL 4 years ago
jenkins change repositories URL 4 years ago
kibana change repositories URL 4 years ago
kvm-host change repositories URL 4 years ago
ldap change repositories URL 4 years ago
listupgrade change repositories URL 4 years ago
logstash change repositories URL 4 years ago
lxc We want /home mounted inside the container by default 4 years ago
memcached change repositories URL 4 years ago
meta Add meta/main.yml file for ansible galaxy cloning 6 years ago
metricbeat change repositories URL 4 years ago
minifirewall whitespaces 4 years ago
mongodb apt module: Use "state: present" instead of "state: installed" 5 years ago
monit change repositories URL 4 years ago
munin change repositories URL 4 years ago
mysql change repositories URL 4 years ago
mysql-oracle change repositories URL 4 years ago
nagios-nrpe change repositories URL 4 years ago
nameserver Add nameserver role 6 years ago
networkd-to-ifconfig change repositories URL 4 years ago
newrelic change repositories URL 4 years ago
nginx apache/nginx: fix server-status replacement 4 years ago
nodejs change repositories URL 4 years ago
ntpd * ntpd: Update the restrictions to follow wiki.evolix.org/HowtoNTP client config 4 years ago
opendkim Set correct permissions on folder /etc/opendkim and add package dns-root-data in dependencies 4 years ago
packweb-apache change repositories URL 4 years ago
percona New "percona" role to install Percona repositories and tools 4 years ago
php PHP: For sury add packages to preferences 4 years ago
postfix change repositories URL 4 years ago
postgresql whitespaces 4 years ago
proftpd change repositories URL 4 years ago
rabbitmq change repositories URL 4 years ago
rbenv rbenv: update defaults rbenv version to 1.1.2 and ruby version to 2.5.5 4 years ago
redis change repositories URL 4 years ago
redmine redmine: enable gzip compression in nginx vhost 4 years ago
remount-usr remount-usr: mount doesn't report a change 5 years ago
spamassasin spamassasin: fix sa-update.sh and ensure service is started and enabled 4 years ago
squid Add deb.nodesource.com in default Squid whitelist 4 years ago
ssl whitespaces 4 years ago
supervisord Supervisor: handlers name + tags 6 years ago
tomcat change repositories URL 4 years ago
tomcat-instance whitespaces 4 years ago
unbound whitespaces 4 years ago
varnish change repositories URL 4 years ago
vrrpd change repositories URL 4 years ago
webapps whitespaces 4 years ago
.gitignore gitignore cleanup 6 years ago
CHANGELOG.md apt: add a script to manage packages with "hold" mark 4 years ago
LICENSE Add the GPLv2 licence 6 years ago
README.md change repositories URL 4 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://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.