Add test group with re2o-test
parent
e7edf6ed2e
commit
a14c92391b
14
base.yml
14
base.yml
|
@ -1,14 +1,11 @@
|
||||||
---
|
---
|
||||||
# Deploy common Crans configuration and tools
|
# Deploy common Crans configuration and tools
|
||||||
- hosts: server
|
- hosts: server,test_vm
|
||||||
vars:
|
vars:
|
||||||
# Debian mirror on adm
|
# Debian mirror on adm
|
||||||
debian_mirror: http://mirror.adm.crans.org/debian
|
debian_mirror: http://mirror.adm.crans.org/debian
|
||||||
debian_components: main non-free
|
debian_components: main non-free
|
||||||
|
|
||||||
# Backup password
|
|
||||||
backuppc_rsyncd_passwd: "{{ vault_backuppc_rsyncd_passwd }}"
|
|
||||||
|
|
||||||
# NTP servers
|
# NTP servers
|
||||||
# TODO get this list with re2o
|
# TODO get this list with re2o
|
||||||
ntp_servers:
|
ntp_servers:
|
||||||
|
@ -18,10 +15,17 @@
|
||||||
- debian-apt-sources
|
- debian-apt-sources
|
||||||
- common-security
|
- common-security
|
||||||
- common-tools
|
- common-tools
|
||||||
- rsync-client
|
|
||||||
- ntp-client
|
- ntp-client
|
||||||
- nfs-common
|
- nfs-common
|
||||||
|
|
||||||
|
# Deploy backup system
|
||||||
|
- hosts: server
|
||||||
|
vars:
|
||||||
|
# Backup password
|
||||||
|
backuppc_rsyncd_passwd: "{{ vault_backuppc_rsyncd_passwd }}"
|
||||||
|
roles:
|
||||||
|
- rsync-client
|
||||||
|
|
||||||
# Plug LDAP on all servers
|
# Plug LDAP on all servers
|
||||||
- hosts: server
|
- hosts: server
|
||||||
vars:
|
vars:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# This is a special playbook to clean old stuff from BCFG2
|
# This is a special playbook to clean old stuff from BCFG2
|
||||||
# it will disapear when BCFG2 will disapear
|
# it will disapear when BCFG2 will disapear
|
||||||
# `apt-mark showmanual` is a good start
|
# `apt-mark showmanual` is a good start
|
||||||
- hosts: server
|
- hosts: server,test_vm
|
||||||
tasks:
|
tasks:
|
||||||
- name: Clean up unused packages
|
- name: Clean up unused packages
|
||||||
apt:
|
apt:
|
||||||
|
|
3
hosts
3
hosts
|
@ -4,6 +4,9 @@
|
||||||
# > We name servers according to location, then type.
|
# > We name servers according to location, then type.
|
||||||
# > Then we regroup everything in global geographic and type groups.
|
# > Then we regroup everything in global geographic and type groups.
|
||||||
|
|
||||||
|
[test_vm]
|
||||||
|
re2o-test.adm.crans.org
|
||||||
|
|
||||||
[crans_physical]
|
[crans_physical]
|
||||||
charybde.adm.crans.org
|
charybde.adm.crans.org
|
||||||
cochon.adm.crans.org
|
cochon.adm.crans.org
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
- prometheus-blackbox-exporter
|
- prometheus-blackbox-exporter
|
||||||
|
|
||||||
# Monitor all hosts
|
# Monitor all hosts
|
||||||
- hosts: server
|
- hosts: server,test_vm
|
||||||
roles:
|
roles:
|
||||||
- prometheus-node-exporter
|
- prometheus-node-exporter
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue