Improve documentation
Each role has a README and a meta/main.yml file
This commit is contained in:
parent
e6e3e943dc
commit
61f5219f48
51 changed files with 695 additions and 47 deletions
19
admin-users/meta/main.yml
Normal file
19
admin-users/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Creates admin users accounts.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
apache/meta/main.yml
Normal file
19
apache/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and basic configuration of Apache
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
apt-repositories/meta/main.yml
Normal file
19
apt-repositories/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Add repositories to APT sources list.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
drbd-utils/meta/main.yml
Normal file
19
drbd-utils/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Install tools to setup DRBD replication accross servers.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
elastic-sources-list/meta/main.yml
Normal file
19
elastic-sources-list/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Install Elastic sources list for APT.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -5,21 +5,24 @@
|
|||
name: apt-transport-https
|
||||
state: installed
|
||||
tags:
|
||||
- system
|
||||
- packages
|
||||
- elastic
|
||||
- system
|
||||
- packages
|
||||
|
||||
- name: Elastic GPG key is installed
|
||||
apt_key:
|
||||
url: https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
state: present
|
||||
tags:
|
||||
- system
|
||||
- packages
|
||||
- elastic
|
||||
- system
|
||||
- packages
|
||||
|
||||
- name: Elastic sources list is available
|
||||
apt_repository:
|
||||
repo: "deb https://artifacts.elastic.co/packages/5.x/apt stable main"
|
||||
state: present
|
||||
tags:
|
||||
- system
|
||||
- packages
|
||||
- elastic
|
||||
- system
|
||||
- packages
|
||||
|
|
|
@ -1,4 +1,19 @@
|
|||
---
|
||||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Single server install of the Elastic Stack (Elasticsearch, Logstash, Kibana)
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies:
|
||||
- { role: elasticsearch }
|
||||
- { role: elasticsearch-plugin-head }
|
||||
|
|
19
elasticsearch-curator/meta/main.yml
Normal file
19
elasticsearch-curator/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Install Elasticsearch Curtor, for index management.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
etc-git/meta/main.yml
Normal file
19
etc-git/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Put /etc under Git version control.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
evoacme/meta/main.yml
Normal file
19
evoacme/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Install evoacme ; a wrapper for Certbot (Let's Encrypt)
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
evolinux-base/meta/main.yml
Normal file
19
evolinux-base/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Evolix usual customizations for a Debian installation.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
fail2ban/meta/main.yml
Normal file
19
fail2ban/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Install Fail2ban and a few filters.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
haproxy/meta/main.yml
Normal file
19
haproxy/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and basic configuration of HAProxy
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
kibana-proxy-nginx/meta/main.yml
Normal file
19
kibana-proxy-nginx/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Install kibana proxy configurations (with or without SSL) for Nginx.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
11
kvm-host/README.md
Normal file
11
kvm-host/README.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
# kvm-host
|
||||
|
||||
Install tools to set-up a KVM host
|
||||
|
||||
## Tasks
|
||||
|
||||
Everything is in the `tasks/main.yml` file.
|
||||
|
||||
## Available variables
|
||||
|
||||
There is no variable.
|
19
kvm-host/meta/main.yml
Normal file
19
kvm-host/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Install tools to set-up a KVM host
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
listupgrade/meta/main.yml
Normal file
19
listupgrade/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and configuration of the listupgrade script
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
minifirewall/meta/main.yml
Normal file
19
minifirewall/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and configuration of Minifirewall
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -1,6 +1,6 @@
|
|||
# monit
|
||||
|
||||
Install Monit.
|
||||
Installation and basic configuration of Monit.
|
||||
|
||||
## Tasks
|
||||
|
||||
|
|
19
monit/meta/main.yml
Normal file
19
monit/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and basic configuration of Monit.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -1,6 +1,6 @@
|
|||
# munin
|
||||
|
||||
Install Munin and enables/diables some default plugins.
|
||||
Install Munin and enables/disables some default plugins.
|
||||
|
||||
## Tasks
|
||||
|
||||
|
|
19
munin/meta/main.yml
Normal file
19
munin/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation of Munin with a selection of plugins
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
mysql/meta/main.yml
Normal file
19
mysql/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: your description
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -1,6 +1,6 @@
|
|||
# nagios-nrpe
|
||||
|
||||
Install Nagios NRPE server.
|
||||
Installation and custom configuration of Nagios NRPE server.
|
||||
|
||||
## Tasks
|
||||
|
||||
|
|
19
nagios-nrpe/meta/main.yml
Normal file
19
nagios-nrpe/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and custom configuration of Nagios NRPE server.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
nginx/meta/main.yml
Normal file
19
nginx/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and basic configuration of Nginx
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -1,6 +1,6 @@
|
|||
# nodejs
|
||||
|
||||
Install NodeJS from NPM repositories.
|
||||
Installation of NodeJS from NPM repositories.
|
||||
|
||||
## Tasks
|
||||
|
||||
|
|
19
nodejs/meta/main.yml
Normal file
19
nodejs/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation of NodeJS from NPM repositories
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -1,6 +1,6 @@
|
|||
# Postfix
|
||||
|
||||
Install Postfix
|
||||
Installation and basic configuration of Postfix.
|
||||
|
||||
## Tasks
|
||||
|
||||
|
|
19
postfix/meta/main.yml
Normal file
19
postfix/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and basic configuration of Postfix.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
25
postgresql/README.md
Normal file
25
postgresql/README.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# PostgreSQL
|
||||
|
||||
Installation and basic configuration of PostgreSQL.
|
||||
|
||||
## Tasks
|
||||
|
||||
Tasks are in several files, included in `tasks/main.yml` :
|
||||
|
||||
* `packages.yml` : packages installation ;
|
||||
* `config.yml` : configurations ;
|
||||
* `nrpe.yml` : `nrpe` user for Nagios checks ;
|
||||
* `munin.yml` : Munin plugins ;
|
||||
* `logrotate.yml` : logrotate configuration.
|
||||
|
||||
## Available variables
|
||||
|
||||
Main variables are :
|
||||
|
||||
* `postgresql_databases`: list of databases for Munin plugins
|
||||
* `postgresql_shared_buffers`: (default: `4GB`)
|
||||
* `postgresql_work_mem`: (default: `8MB`)
|
||||
* `postgresql_random_page_cost`: (default: `1.5`)
|
||||
* `postgresql_effective_cache_size`: (default: `14GB`)
|
||||
|
||||
The full list of variables (with default values) can be found in `defaults/main.yml`.
|
19
postgresql/meta/main.yml
Normal file
19
postgresql/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and basic configuration of PostgreSQL
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -1,6 +1,6 @@
|
|||
# fail2ban
|
||||
# profptd
|
||||
|
||||
Install Fail2ban.
|
||||
Installation and basic configuration of ProFTPd
|
||||
|
||||
## Tasks
|
||||
|
||||
|
@ -10,7 +10,7 @@ Everything is in the `tasks/main.yml` file.
|
|||
|
||||
Main variables are :
|
||||
|
||||
* `general_alert_email`: email address to send various alert messages (default: `root@localhost`).
|
||||
* `fail2ban_alert_email`: email address for messages sent to root (default: `general_alert_email`).
|
||||
* `proftpd_hostname`: hostname (default: `ansible_hostname`)
|
||||
* `proftpd_fqdn`: fully qualified domain name (default: `ansible_fqdn`)
|
||||
|
||||
The full list of variables (with default values) can be found in `defaults/main.yml`.
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
---
|
||||
general_alert_email: "root@localhost"
|
||||
fail2ban_alert_email: Null
|
||||
|
||||
proftpd_hostname: "{{ ansible_hostname }}"
|
||||
proftpd_fqdn: "{{ ansible_fqdn }}"
|
||||
|
|
19
proftpd/meta/main.yml
Normal file
19
proftpd/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and basic configuration of ProFTPd
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -4,8 +4,8 @@
|
|||
name: proftpd-basic
|
||||
state: installed
|
||||
tags:
|
||||
- proftpd
|
||||
- packages
|
||||
- proftpd
|
||||
- packages
|
||||
|
||||
- name: ftpusers groupe exists
|
||||
group:
|
||||
|
@ -13,7 +13,7 @@
|
|||
state: present
|
||||
notify: restart proftpd
|
||||
tags:
|
||||
- proftpd
|
||||
- proftpd
|
||||
|
||||
- name: local jail is installed
|
||||
template:
|
||||
|
@ -22,7 +22,7 @@
|
|||
mode: "644"
|
||||
notify: restart proftpd
|
||||
tags:
|
||||
- proftpd
|
||||
- proftpd
|
||||
|
||||
- name: mod_tls_memcache is disabled
|
||||
replace:
|
||||
|
@ -31,4 +31,4 @@
|
|||
replace: '#LoadModule mod_tls_memcache.c'
|
||||
notify: restart proftpd
|
||||
tags:
|
||||
- proftpd
|
||||
- proftpd
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
# RabbitMQ
|
||||
|
||||
Install RabbitMQ
|
||||
Installation and basic configuration of RabbitMq
|
||||
|
||||
## Tasks
|
||||
|
||||
Everything is in the `tasks/main.yml` file for now.
|
||||
|
||||
|
|
19
rabbitmq/meta/main.yml
Normal file
19
rabbitmq/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and basic configuration of RabbitMq
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -1,11 +1,11 @@
|
|||
- name: ensure packages are installed
|
||||
- name: Install packages
|
||||
apt:
|
||||
name: '{{ item }}'
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
- rabbitmq-server
|
||||
- rabbitmq-server
|
||||
|
||||
- name: create rabbitmq-env.conf
|
||||
- name: Create rabbitmq-env.conf
|
||||
copy:
|
||||
src: evolinux-rabbitmq-env.conf
|
||||
dest: /etc/rabbitmq/rabbitmq-env.conf
|
||||
|
@ -14,7 +14,7 @@
|
|||
mode: "600"
|
||||
force: no
|
||||
|
||||
- name: create rabbitmq.config
|
||||
- name: Create rabbitmq.config
|
||||
copy:
|
||||
src: evolinux-rabbitmq.config
|
||||
dest: /etc/rabbitmq/rabbitmq.config
|
||||
|
@ -23,7 +23,7 @@
|
|||
mode: "600"
|
||||
force: no
|
||||
|
||||
- name: set ulimit -n to 2048
|
||||
- name: Adjust ulimit
|
||||
lineinfile:
|
||||
dest: /etc/default/rabbitmq-server
|
||||
line: ulimit -n 2048
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# munin
|
||||
|
||||
Install Rbenv, Ruby and some default gems.
|
||||
Installation of Rbenv, Ruby and some default gems.
|
||||
|
||||
## Tasks
|
||||
|
||||
|
@ -18,5 +18,5 @@ The role must be specified with a `username` variable :
|
|||
|
||||
```
|
||||
roles:
|
||||
- { role: rbenv, username: 'johndoe' }
|
||||
- { role: rbenv, username: 'johndoe' }
|
||||
```
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
rbenv_version: v1.0.0
|
||||
rbenv_ruby_version: 2.3.1
|
||||
rbenv_ruby_version: 2.4.0
|
||||
rbenv_root: "~/.rbenv"
|
||||
rbenv_repo: "https://github.com/rbenv/rbenv.git"
|
||||
rbenv_plugins:
|
||||
- { name: "rbenv-vars", repo: "https://github.com/rbenv/rbenv-vars.git", version: "v1.2.0" }
|
||||
- { name: "ruby-build", repo: "https://github.com/rbenv/ruby-build.git", version: "v20160426" }
|
||||
- { name: "rbenv-default-gems", repo: "https://github.com/rbenv/rbenv-default-gems.git", version: "ead67889c91c53ad967f85f5a89d986fdb98f6fb" }
|
||||
- { name: "rbenv-installer", repo: "https://github.com/rbenv/rbenv-installer.git", version: "bc21e7055dcc8f5f9bc66ce0c78cc9ae0c28cd7a" }
|
||||
- { name: "rbenv-update", repo: "https://github.com/rkh/rbenv-update.git", version: "1961fa180280bb50b64cbbffe6a5df7cf70f5e50" }
|
||||
- { name: "rbenv-whatis", repo: "https://github.com/rkh/rbenv-whatis.git", version: "v1.0.0" }
|
||||
- { name: "rbenv-use", repo: "https://github.com/rkh/rbenv-use.git", version: "v1.0.0" }
|
||||
- { name: "rbenv-vars", repo: "https://github.com/rbenv/rbenv-vars.git", version: "v1.2.0" }
|
||||
- { name: "ruby-build", repo: "https://github.com/rbenv/ruby-build.git", version: "v20160426" }
|
||||
- { name: "rbenv-default-gems", repo: "https://github.com/rbenv/rbenv-default-gems.git", version: "ead67889c91c53ad967f85f5a89d986fdb98f6fb" }
|
||||
- { name: "rbenv-installer", repo: "https://github.com/rbenv/rbenv-installer.git", version: "bc21e7055dcc8f5f9bc66ce0c78cc9ae0c28cd7a" }
|
||||
- { name: "rbenv-update", repo: "https://github.com/rkh/rbenv-update.git", version: "1961fa180280bb50b64cbbffe6a5df7cf70f5e50" }
|
||||
- { name: "rbenv-whatis", repo: "https://github.com/rkh/rbenv-whatis.git", version: "v1.0.0" }
|
||||
- { name: "rbenv-use", repo: "https://github.com/rkh/rbenv-use.git", version: "v1.0.0" }
|
||||
|
|
19
rbenv/meta/main.yml
Normal file
19
rbenv/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation of Rbenv, Ruby and some default gems.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -1,6 +1,6 @@
|
|||
# munin
|
||||
|
||||
Install Redis with sensible configuration.
|
||||
Installation and basic configuration of Redis.
|
||||
|
||||
This role is based on https://github.com/geerlingguy/ansible-role-redis
|
||||
|
||||
|
|
19
redis/meta/main.yml
Normal file
19
redis/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and basic configuration of Redis.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -4,8 +4,8 @@
|
|||
name: redis-server
|
||||
state: installed
|
||||
tags:
|
||||
- redis
|
||||
- packages
|
||||
- redis
|
||||
- packages
|
||||
|
||||
- name: Redis is configured.
|
||||
template:
|
||||
|
@ -14,7 +14,7 @@
|
|||
mode: "644"
|
||||
notify: restart redis
|
||||
tags:
|
||||
- redis
|
||||
- redis
|
||||
|
||||
- name: Redis is running and enabled on boot.
|
||||
service:
|
||||
|
@ -22,4 +22,4 @@
|
|||
enabled: yes
|
||||
state: started
|
||||
tags:
|
||||
- redis
|
||||
- redis
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
# squid
|
||||
|
||||
Install Squid.
|
||||
Installation and configuration of Squid as an outgoing proxy.
|
||||
|
||||
## Tasks
|
||||
|
||||
Everything is in the `tasks/main.yml` file.
|
||||
|
||||
A blank file is created at `/etc/squid3/whitelist-custom.conf` to add addresses in the whitelist.
|
||||
|
||||
## Available variables
|
||||
|
||||
* `squid_address` : IP address for internal/outgoing traffic (default: Ansible detected IPv4 address) ;
|
||||
|
|
19
squid/meta/main.yml
Normal file
19
squid/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installatin and configuration of Squid as an outgoing proxy.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
tomcat-instance/meta/main.yml
Normal file
19
tomcat-instance/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Configuration of a Tomcat instance.
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
|
@ -1,5 +1,12 @@
|
|||
# Varnish
|
||||
|
||||
Installation and basic configuration of Varnish
|
||||
|
||||
## Tasks
|
||||
|
||||
Everything is in the `tasks/main.yml` file.
|
||||
|
||||
## Variables
|
||||
|
||||
* `thread_pools` : number of thread to use (default to number of vCPU)
|
||||
* `malloc` : amount of memory to allocate (default: `2G`)
|
||||
|
|
19
varnish/meta/main.yml
Normal file
19
varnish/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: Installation and basic configuration of Varnish
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
19
webapps/meta/main.yml
Normal file
19
webapps/meta/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
galaxy_info:
|
||||
author: Evolix
|
||||
description: your description
|
||||
|
||||
issue_tracker_url: https://forge.evolix.org/projects/ansible-roles/issues
|
||||
|
||||
license: GPLv2
|
||||
|
||||
min_ansible_version: 2.0
|
||||
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- jessie
|
||||
|
||||
dependencies: []
|
||||
# List your role dependencies here, one per line.
|
||||
# Be sure to remove the '[]' above if you add dependencies
|
||||
# to this list.
|
Loading…
Reference in a new issue