Clean up playbooks

This commit is contained in:
Alexandre Iooss 2019-07-22 19:17:38 +02:00
parent a45ca1a890
commit 4a3851acc8
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02
8 changed files with 21 additions and 59 deletions

View file

@ -2,14 +2,14 @@
[defaults] [defaults]
# Use Aurore inventory # Do not create .retry files
retry_files_enabled = False
# Use inventory
inventory = ./hosts inventory = ./hosts
# Custom header in templates # Custom header in templates
ansible_managed = Ansible managed: {file} modified on %Y-%m-%d %H:%M:%S by {uid} on {host} ansible_managed = Ansible managed, modified on %Y-%m-%d %H:%M:%S by {uid}
# Do not create retry files
retry_files_enabled = False
# Do not use cows (with cowsay) # Do not use cows (with cowsay)
nocows = 1 nocows = 1
@ -17,6 +17,9 @@ nocows = 1
# Do more parallelism # Do more parallelism
forks = 15 forks = 15
# Some SSH connection will take time
timeout = 60
[privilege_escalation] [privilege_escalation]
# Use sudo to get priviledge access # Use sudo to get priviledge access

View file

@ -1,7 +0,0 @@
---
# Install CodiMD on CodiMD containers
- hosts: codimd.adm.auro.re
roles:
- debian-backports
- nodejs
- codimd

View file

@ -1,16 +0,0 @@
---
# Deploy DHCP
- hosts: dhcp-pacaterie.adm.auro.re
vars:
service_repo: https://gitlab.federez.net/re2o/dhcp.git
service_name: dhcp
service_version: master
service_config:
hostname: re2o-server.adm.auro.re
username: service-user
password: "{{ vault_serviceuser_passwd }}"
dhcp:
authoritative: true
roles:
- re2o-service
- isc-dhcp-server

13
dns.yml
View file

@ -1,13 +0,0 @@
---
# Deploy DNS
- hosts: serge.adm.auro.re
vars:
service_repo: https://gitlab.crans.org/nounous/re2o-dns.git
service_name: dns
service_version: crans
service_config:
hostname: re2o-server.adm.auro.re
username: service-user
password: "{{ vault_serviceuser_passwd }}"
roles:
- re2o-service

View file

@ -1,6 +0,0 @@
---
# Install DokuWiki on the wiki TEST container
# When it will be operational, horus-wikitest will replace horus-wiki
- hosts: horus-wikitest
roles:
- dokuwiki

View file

@ -1,7 +0,0 @@
---
# Install EtherPad on EtherPad containers
- hosts: pad.adm.auro.re
roles:
- debian-backports
- nodejs
- etherpad

View file

@ -9,6 +9,19 @@
roles: roles:
- passbolt - passbolt
# Install EtherPad on EtherPad containers
- hosts: pad.adm.auro.re
roles:
- debian-backports
- nodejs
- etherpad
# Install DokuWiki on the wiki TEST container
# When it will be operational, horus-wikitest will replace horus-wiki
- hosts: horus-wikitest
roles:
- dokuwiki
# Install NGINX with reverse proxy conf # Install NGINX with reverse proxy conf
- hosts: proxy.adm.auro.re - hosts: proxy.adm.auro.re
vars: vars:

View file

@ -1,5 +0,0 @@
---
# Deploy Unifi Controller
- hosts: unifi-pacaterie.adm.auro.re
roles:
- unifi-controller