Skip to content

victorock/backup_manager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backup Manager

Overview

Backup Manager is an Ansible Role for network engineers and network operators. It provides functions to backup and restore configurations to/from git repository.

Quick start

Download from ansible galaxy

  1. Download the role from ansible_galaxy into your roles directory
ansible-galaxy install -p roles nmake.backup_manager
  1. Call the role by loading it at the top of your playbook
- name: "Backup Configurations"
  hosts: all
  gather_facts: False
  roles:
  - role: nmake.backup_manager
    function: backup
    backup_manager_git_deploy_key: "<vaulted deploy-key>"
    backup_manager_git_deploy_key_file: "~/.ssh/my_deploy_key"
  1. Run your playbook

NOTE: You will need a more recent version of git (> 2.10.0) for the git push to work on Ansible Tower.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%