update_motd: apply conventions #71
7 changed files with 33 additions and 31 deletions
4
bdd.yml
4
bdd.yml
|
@ -2,6 +2,10 @@
|
|||
---
|
||||
# Install and configure bdd servers at Saclay and at OVH
|
||||
- hosts: bdd,!re2o-bdd.adm.auro.re,!services-bdd-local.adm.auro.re
|
||||
vars:
|
||||
router:
|
||||
postgresql: PostgreSQL est déployé.
|
||||
roles:
|
||||
- postgresql_server
|
||||
- update_motd
|
||||
...
|
||||
|
|
|
@ -5,12 +5,17 @@
|
|||
vars:
|
||||
mxisd_releases: https://github.com/kamax-matrix/mxisd/releases
|
||||
mxisd_deb: "{{ mxisd_releases }}/download/v1.3.1/mxisd_1.3.1_all.deb"
|
||||
router:
|
||||
matrix-synapse: matrix-synapse est déployé.
|
||||
matrix-appservice-irc: matrix-appservice-irc est déployé.
|
||||
matrix-appservice-webhooks: matrix-appservice-webhooks est déployé.
|
||||
roles:
|
||||
- debian_backports
|
||||
- nodejs
|
||||
- matrix_synapse
|
||||
- matrix_appservice_irc
|
||||
- matrix_appservice_webhooks
|
||||
- update_motd
|
||||
|
||||
# Install Matrix services
|
||||
- hosts: matrix-services.adm.auro.re
|
||||
|
|
23
network.yml
23
network.yml
|
@ -2,35 +2,52 @@
|
|||
---
|
||||
# Set up DHCP servers.
|
||||
- hosts: dhcp-*.adm.auro.re
|
||||
vars:
|
||||
update_motd:
|
||||
unbound: isc-dhcp-server est déployé.
|
||||
roles:
|
||||
- isc_dhcp_server
|
||||
|
||||
- update_motd
|
||||
|
||||
# Deploy unbound DNS server (recursive).
|
||||
- hosts: dns-*.adm.auro.re,!dns-aurore*.adm.auro.re
|
||||
vars:
|
||||
update_motd:
|
||||
unbound: Unbound est déployé.
|
||||
roles:
|
||||
- unbound
|
||||
|
||||
- update_motd
|
||||
|
||||
# Déploiement du service re2o aurore-firewall et keepalived
|
||||
# radvd: IPv6 SLAAC (/64 subnets, private IPs).
|
||||
# Must NOT be on routeur-aurore-*, or will with DHCPv6!
|
||||
- hosts: ~routeur-(pacaterie|edc|fleming|gs|rives).*\.adm\.auro\.re
|
||||
vars:
|
||||
router:
|
||||
unbound: Le routage (avec radvd) est déployé.
|
||||
roles:
|
||||
- router
|
||||
- radvd
|
||||
- update_motd
|
||||
|
||||
# No radvd here
|
||||
- hosts: ~routeur-aurore.*\.adm\.auro\.re
|
||||
vars:
|
||||
router:
|
||||
unbound: Le routage (avec DHCPv6) est déployé.
|
||||
roles:
|
||||
- router
|
||||
- ipv6_edge_router
|
||||
- update_motd
|
||||
|
||||
# Radius (backup only for now)
|
||||
- hosts: radius-*.adm.auro.re
|
||||
vars:
|
||||
router:
|
||||
unbound: FreeRADIUS est déployé.
|
||||
roles:
|
||||
- radius
|
||||
|
||||
- update_motd
|
||||
|
||||
# WIP: Deploy authoritative DNS servers
|
||||
# - hosts: authoritative_dns
|
||||
|
|
|
@ -50,13 +50,4 @@
|
|||
url: https://github.com/docker/compose/releases/download/1.24.1/docker-compose-Linux-x86_64
|
||||
dest: /usr/local/bin/docker-compose
|
||||
mode: "0755"
|
||||
|
||||
- name: Configure MOTD
|
||||
include_role:
|
||||
name: update_motd
|
||||
vars:
|
||||
motd_messages:
|
||||
- key: 10-docker
|
||||
message: >-
|
||||
Docker est installé sur ce serveur.
|
||||
...
|
||||
|
|
|
@ -39,14 +39,4 @@
|
|||
owner: "{{ service_user }}"
|
||||
group: nogroup
|
||||
state: link
|
||||
|
||||
- name: Configure MOTD
|
||||
include_role:
|
||||
name: update_motd
|
||||
vars:
|
||||
motd_messages:
|
||||
- key: "15-re2o-service-{{ service_name }}"
|
||||
message: >-
|
||||
Le service re2o {{ service_name }} est dans
|
||||
{{ service_homedir }}/{{ service_name }}.
|
||||
...
|
||||
|
|
|
@ -39,13 +39,4 @@
|
|||
register: apt_result
|
||||
retries: 3
|
||||
until: apt_result is succeeded
|
||||
|
||||
- name: Configure MOTD
|
||||
include_role:
|
||||
name: update_motd
|
||||
vars:
|
||||
motd_messages:
|
||||
- key: 10-unifi-controller
|
||||
message: >-
|
||||
Le contrôleur Unifi a été installé sur ce serveur.
|
||||
...
|
||||
|
|
|
@ -2,8 +2,12 @@
|
|||
---
|
||||
# Deploy Docker hosts
|
||||
- hosts: docker-ovh.adm.auro.re,gitea.adm.auro.re,drone.adm.auro.re,stream.adm.auro.re,wikijs.adm.auro.re
|
||||
vars:
|
||||
router:
|
||||
docker: Docker est déployé.
|
||||
roles:
|
||||
- docker
|
||||
- update_motd
|
||||
|
||||
# Deploy Passbolt
|
||||
- hosts: passbolt.adm.auro.re
|
||||
|
|
Loading…
Reference in a new issue