community.general.bzr – Deploy software (or files) from bzr branches

Note

This plugin is part of the community.general collection (version 1.3.6).

To install it use: ansible-galaxy collection install community.general.

To use it in a playbook, specify: community.general.bzr.

Synopsis

  • Manage bzr branches to deploy files or software.

Parameters

Parameter Choices/Defaults Comments
dest
string / required
Absolute path of where the branch should be cloned to.
executable
string
Path to bzr executable to use. If not supplied, the normal mechanism for resolving binary paths will be used.
force
boolean
    Choices:
  • no ←
  • yes
If yes, any modified files in the working tree will be discarded. Before 1.9 the default value was yes.
name
string / required
SSH or HTTP protocol address of the parent branch.

aliases: parent
version
string
Default:
"head"
What version of the branch to clone. This can be the bzr revno or revid.

Examples

- name: Checkout
  community.general.bzr:
    name: bzr+ssh://foosball.example.org/path/to/branch
    dest: /srv/checkout
    version: 22

Authors

  • André Paramés (@andreparames)