Git Product home page Git Product logo

aapbackup's Introduction

Ansible Automation Platform Backup

Playbook to create Red Hat Ansible Tower backup from Ansible Tower;

  • Create an inventory at Ansible Tower which has the same structure as the one that is used at the installation.

automationcontroller_group

automationhub_group

database_group

  • Set the inventory variables similiar as below (same as the inventory variables used to create the AAP cluster);
---
backup_host: tower01.aydin.lab
backup_dest: '/data/tower/backup/'
admin_password: 'redhat'
pg_host: 'pghost.aydin.lab'
pg_port: '5432'
pg_database: 'awx'
pg_username: 'awx'
pg_password: 'redhat'
pg_sslmode: 'prefer'  
registry_url: 'registry.redhat.io'
registry_username: 'redhataccount'
registry_password: 'redhatpass'
receptor_listener_port: 27199
automationhub_admin_password: 'redhat'
automationhub_pg_host: 'pghost.aydin.lab'
automationhub_pg_port: '5432'
automationhub_pg_database: 'automationhub'
automationhub_pg_username: 'automationhub'
automationhub_pg_password: 'password'
automationhub_pg_sslmode: 'prefer'
  • Tested with Red Hat Ansible Automation Platform 2.1

  • Some changes from the default backup role;

    • Used sync module instead of fetch at download.yml

    • Changed the "delegate_to" from localhost to {{ backup_host }} variable

    • Added collections requirements.yml for community.general

aapbackup's People

Watchers

Mustafa Aydın avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.