Add backup02.home.foo.sh

This commit is contained in:
Timo Makinen 2021-08-16 16:34:52 +00:00
parent bceca425b2
commit a789d16e2d
4 changed files with 41 additions and 0 deletions

24
playbooks/backup.yml Normal file
View file

@ -0,0 +1,24 @@
---
- import_playbook: "include/deploy-kvm-guest.yml myhosts=backup"
- name: configure instance
hosts: backup
user: root
gather_facts: true
pre_tasks:
- name: mount /export
mount:
name: /export
src: /dev/sd1a
fstype: ffs
opts: rw,softdep,noatime
passno: "1"
dump: "2"
state: mounted
vars_files:
- "{{ ansible_private }}/vars.yml"
roles:
- base