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
Ludovic Poujol 3457b14fed
continuous-integration/drone/push Build is passing Details
ntpd: Add leapfile configuration setting to ntpd on debian 10+
2 years ago
amavis replace "with_items" in apt modules 3 years ago
amazon-ec2 Change default public SSH/SFTP port from 2222 to 22222 3 years ago
apache apache: new variable for mpm mode (+ updated default config accordingly) 2 years ago
apt apt: disable APT Periodic 2 years ago
bind Revert changes to bind log path from apparmor fix 2 years ago
certbot cerbot: use the legacy script on Debian 8 and 9 2 years ago
clamav Suppression du paquet zoo 3 years ago
dhcpd change repositories URL 4 years ago
docker-host Change "|changed" with "is changed" 3 years ago
dovecot Create system users for vmail (dovecot) and evoadmin 2 years ago
drbd replace "with_items" in apt modules 3 years ago
elasticsearch elasticsearch: log rotation is more readable/maintainable 2 years ago
etc-git etc-git: commit in /usr/share/scripts when there's an active repository 2 years ago
evoacme cerbot: use the legacy script on Debian 8 and 9 2 years ago
evobackup-client evobackup-client: Fix ssh connection test in zzz_evobackup.sh 3 years ago
evocheck evocheck: upstream release 20.12 2 years ago
evolinux-base evolinux-base: install wget 3 years ago
evolinux-todo Add evolix prefix to include_role 3 years ago
evolinux-users evolinux-users: Add sudo rights for nagios for multi-php lxc 2 years ago
evomaintenance evomaintenance: install the embedded script by default 3 years ago
fail2ban Change default public SSH/SFTP port from 2222 to 22222 3 years ago
filebeat filebeat: fix Ansible syntax error 2 years ago
fluentd fluentd: store gpg key locally 4 years ago
generate-ldif generate-ldif: Patched computerOS detection 3 years ago
haproxy haproxy: dedicated internal address/binding (without SSL) 2 years ago
java java: add Java 11 as possible version to install 3 years ago
jenkins Add evolix prefix to role dependencies 3 years ago
keepalived Add NRPE related configuration tasks 2 years ago
kibana Add evolix prefix to include_role 3 years ago
kvm-host kvm-host: Add drbd role dependency (toggleable with kvm_install_drbd) 2 years ago
ldap replace "with_items" in apt modules 3 years ago
listupgrade listupgrade: update script from upstream 2 years ago
logstash Add evolix prefix to role dependencies 3 years ago
lxc lxc: install apparmor on Debian 10 3 years ago
lxc-php lxc-php: No need of apt-key for php7.4 2 years ago
lxc-solr Switch to Solr 8.4.1 3 years ago
memcached Fix task when memcached_instance_name 3 years ago
meta Add meta/main.yml file for ansible galaxy cloning 5 years ago
metricbeat metricbeat: new variables to configure SSL mode 2 years ago
minifirewall minifirewall: change some defaults 2 years ago
mongodb mongodb: Fix issue introduced by 8aa7f6cf33 3 years ago
monit change repositories URL 4 years ago
munin Change "|search" with "is search" 3 years ago
mysql mysql: install save_mysql_processlist script 2 years ago
mysql-oracle mysql-oracle: Update clients' conf to match server's 2 years ago
nagios-nrpe nagios-nrpe: libfcgi-client-perl is not available before Debian 10 2 years ago
nameserver Add nameserver role 6 years ago
networkd-to-ifconfig networkd-to-ifconfig: add variables for configuration by variables 3 years ago
newrelic change repositories URL 4 years ago
nginx nginx: no more "minimal" mode, but the package remains customizable. 2 years ago
nodejs Nodejs : Update yarn gpg repo key 2 years ago
ntpd ntpd: Add leapfile configuration setting to ntpd on debian 10+ 2 years ago
opendkim Force owner opendkim for /etc/opendkim/ folder 3 years ago
packweb-apache lxc-php: Do not bind the mysql socket by default 2 years ago
percona Change "|changed" with "is changed" 3 years ago
php php: Don't disable putenv() by default in PHP settings 3 years ago
postfix postfix: always enable sasl authentified for relay 2 years ago
postgresql postgresql: Fix postgresql@.service customization 2 years ago
proftpd Add TransfertLog to sftp and ftps configuration 3 years ago
rabbitmq replace "with_items" in apt modules 3 years ago
rbenv rbenv: change default Ruby version to 2.7.0 3 years ago
redis redis: socket/pid directories have the correct permissions 2 years ago
redmine replace "with_items" in apt modules 3 years ago
remount-usr Add evolix prefix to include_role 3 years ago
spamassasin MàJ IPs Evolix minifirewall + spamassassin 2 years ago
squid squid: Update regex for sa-update domains. 3 years ago
ssl whitespaces 4 years ago
supervisord Supervisor: handlers name + tags 5 years ago
tomcat tomcat: root directory owner/group are configurable 3 years ago
tomcat-instance tomcat-instance: fail if uid already exists 2 years ago
unbound whitespaces 4 years ago
varnish varnish: add tags 2 years ago
vrrpd Add evolix prefix to include_role 3 years ago
webapps whitespaces 2 years ago
.drone.yml Add DroneCI config for build Docker image 4 years ago
.gitignore git ignore .swp files 3 years ago
CHANGELOG.md ntpd: Add leapfile configuration setting to ntpd on debian 10+ 2 years ago
Dockerfile Change Dockerfile Workdir to /data 4 years ago
LICENSE Add the GPLv2 licence 6 years ago
README.md Mention the CHANGELOG in the README 2 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.

All modifications should be documented in the CHANGELOG file, to help review releases. We encourage atomic commits, on a single role, and with the CHANGELOG in the same commit.

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.