How do I backup my ansible playbooks?

0 votes
How do I backup my ansible playbooks?
Feb 4 in Ansible by Ninja
17 views

1 answer to this question.

0 votes

In addition to the install.yml file included with your setup.sh setup playbook, there are also backup.yml and restore.yml files for your backup and restoration needs.

These playbooks serve two functions–backup and restore.

  • The overall backup will backup:
    1. the database
    2. the SECRET_KEY file
  • The per-system backups include:
    1. custom user config files
    2. job stdout
    3. manual projects
  • The restore will restore the backed up files and data to a freshly installed and working as the second instance of Tower.
answered Feb 4 by Anushri

Related Questions In Ansible

0 votes
1 answer

How do i set multiple authorized keys to my ansible playbook?

Try this: - name: Set up multiple authorized ...READ MORE

answered Feb 11 in Ansible by John
40 views
0 votes
1 answer

How do I execute a shell script and then use the result in ansible

This can work out for you: - name: ...READ MORE

answered Apr 11, 2018 in Ansible by shubham
• 6,870 points
463 views
0 votes
2 answers

How do i install Ansible using virtualenv

Adding to @Mohit's answer,  For CentOS and RHEL: sudo ...READ MORE

answered Jan 10 in Ansible by Dikinson
88 views
0 votes
1 answer
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I manage my config snapshots? - Ansible

Hey @Pandora, You can use the aci_config_snapshot module ...READ MORE

answered Feb 11 in Ansible by Kyra
24 views