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