ansible / product-demos

GNU General Public License v3.0
194 stars 194 forks source link

Add Backup playbook to Network Demos #80

Closed andubiel closed 1 year ago

andubiel commented 1 year ago

This demo backups the Devnet router configs to a Gitlab repo. It requires some prereqs that were added to the readme file.

NETWORK / Backups to Gitlab - Use this job-template to backup network device configurations to a Gitlab repository.

This demo requires the following pre-requisite items! You will be prompted by a survey for the following information:

Create a Gitlab Account Create a new project named 'backups' Create a project token for your account. This step requires your own unique Gitlab username. https://gitlab.com/username/backups/-/settings/access_tokens At this point you should have a project url similar to this: gitlab.com/username/backups

You can view and delete your config files by accessing your own gitlab project url.

willtome commented 1 year ago

1) test with using token in containerized gitea. How to make user experience simpler. 2) explore using ansible.scm collection instead of shell.

another example of backup role (https://github.com/rohitthakur2590/network.backup)

andubiel commented 1 year ago

Closing to redo with gitea and the ansible.sc