Backup all public and/or private repositories of a specific account.
This role makes use of the included module bitbucket_repositories (see below) and adds functionality to fetch all reachable bitbucket repositories.
All requirements will be installed automatically on an Ubuntu 18.04 target.
Mandatory Variables
Variable Name | Mandatory | Default | Description |
---|---|---|---|
bitbucket_backup__search_user | x | user to search repositories for | |
bitbucket_backup__workdir | /backup | target backup root | |
bitbucket_backup__user | Bitbucket Username to auth with | ||
bitbucket_backup__app_password | Bitbucket APP Password to auth with | ||
bitbucket_backup__prune | False |
See molecule/default/playbook.yml
See molecule/INSTALL.rst
Run molecule test
pip install requests ~2
./library/bitbucket_repositories.py ./library/params-[anon|nulls].json
Apache 2
An optional section for the role authors to include contact information, or a website (HTML is not allowed).