W3cubDocs

/Ansible

bzr - Deploy software (or files) from bzr branches

Synopsis

  • Manage bzr branches to deploy files or software.

Options

parameter required default choices comments
dest
yes
Absolute path of where the branch should be cloned to.
executable
(added in 1.4)
no
Path to bzr executable to use. If not supplied, the normal mechanism for resolving binary paths will be used.
force
no no
  • yes
  • no
If yes, any modified files in the working tree will be discarded. Before 1.9 the default value was "yes".
name
yes
SSH or HTTP protocol address of the parent branch.
aliases: parent
version
no head
What version of the branch to clone. This can be the bzr revno or revid.

Examples

# Example bzr checkout from Ansible Playbooks
- bzr:
    name: bzr+ssh://foosball.example.org/path/to/branch
    dest: /srv/checkout
    version: 22

Status

This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.

© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/bzr_module.html