Closed andubiel closed 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)
Closing to redo with gitea and the ansible.sc
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.