bitbucket_backup_repositories
Bitbucket - Backup Repositories
Backup all repositories of a given team/user using Bitbucket API.
Requirements
None
Role Variables
Variable name | Required | Default | Choices | Comments |
---|---|---|---|---|
bitbucket_api_url |
no | https://api.bitbucket.org | HTTP URL | |
bitbucket_exclude_repos_list |
no | [] | A list of repositories | Some repositories you would like to exclude from the backup |
bitbucket_git_version |
no | HEAD | A git version, branch, commit, etc. | See Ansible git module |
bitbucket_password |
yes | None | The user's password | |
bitbucket_user |
yes | None | The user to connect to bitbucket | |
bitbucket_workspace |
yes | None | The workspace you want to backup | The bitbucket team or username in which the repositories are located |
Dependencies
None
Example Playbook
- hosts: backup_server
roles:
- role: bitbucket_backup_repositories
vars:
bitbucket_password: "test"
bitbucket_user: "test"
bitbucket_workspace: "test"
License
GNU GENERAL PUBLIC LICENSE
About
Backup all repositories of a given team/user using Bitbucket API
Install
ansible-galaxy install ogerbron/bitbucket_backup_repositories
License
gpl-3.0
Downloads
23
Owner
EM šØāš§ @doctolib
š«š·š¬š§ Triathlete šš»āāļøš“š»šš»