Skip to content

Backup all repositories of a given team/user using Bitbucket API

License

Notifications You must be signed in to change notification settings

ogerbron/bitbucket_backup_repositories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitbucket - Backup Repositories

Image

Build Status

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages