Browse Source

backup: only backup vms that need to

keep-around/3e0400fddc1d96281bed9154491b7fc6e94b1930
Loïc Dachary 4 years ago
parent
commit
3e7973b220
Signed by: dachary GPG Key ID: 283AFA30CA7F55A4
  1. 13
      inventory/02-all.yml
  2. 2
      molecule/backup/molecule.yml
  3. 2
      molecule/backup/playbook.yml

13
inventory/02-all.yml

@ -1,5 +1,8 @@
all:
children:
# bind_clients:
# hosts:
# icinga-host:
#
# Machines in the pets groups are long lived and contains data that
# needs to be saved.
#
pets:
hosts:
gitlab-host:
weblate-host:

2
molecule/backup/molecule.yml

@ -6,6 +6,8 @@ lint:
platforms:
- name: backup-host
flavor: "s1-2"
groups:
- pets
provisioner:
name: ansible
lint:

2
molecule/backup/playbook.yml

@ -1,6 +1,6 @@
---
- name: setup backup
hosts: all
hosts: pets
become: true
roles:

Loading…
Cancel
Save