https://github.com/cycloidio/ansible-backup-snapshot
https://github.com/cycloidio/ansible-backup-snapshot
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cycloidio/ansible-backup-snapshot
- Owner: cycloidio
- Created: 2016-05-23T08:26:53.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-03-02T11:52:57.000Z (over 4 years ago)
- Last Synced: 2025-01-11T06:13:22.225Z (over 1 year ago)
- Language: Jinja
- Size: 8.79 KB
- Stars: 1
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ansible-backup-snapshot
=========
This role will install cron to snapshot ec2 instances
Role Variables
--------------
**backup_snapshots**
This variable should contains all crons
Example :
backup_snapshots:
mongodb:
tags:
role: database
Name: MONGODB0
instances:
- i-ad0fcc4b
- i-56489db2
dry_run: false
autoscaling_limit: 1
root_device: true
delete_only: false
cold_snapshot: false
retention:
number: 2
type: w
cron: "30 2 * * *"
region: eu-west-1
default: ``{}``
Example Playbook
----------------
- hosts: servers
roles:
- { role: cycloid.backup-snapshot }
License
-------
BSD
Author Information
------------------
Julien Syx at Cycloid.io