Add hostinger backup.
This commit is contained in:
16
hostinger.yaml
Normal file
16
hostinger.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Docker backup
|
||||||
|
hosts: all
|
||||||
|
gather_facts: True
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Include container variables
|
||||||
|
include_vars: vars/hostinger.yaml
|
||||||
|
|
||||||
|
- name: Include the docker play
|
||||||
|
import_playbook: docker-backup.yaml
|
||||||
|
vars:
|
||||||
|
backup_location: "/media/backup/docker/"
|
||||||
|
containers: containers
|
||||||
|
must_become: no
|
||||||
Reference in New Issue
Block a user