Note
This plugin is part of the community.general collection (version 3.8.1).
You might already have this collection installed if you are using the ansible
package. It is not included in ansible-core
. To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.bzr
.
Parameter | Choices/Defaults | Comments |
---|---|---|
dest path / 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 |
| 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. |
- name: Checkout community.general.bzr: name: bzr+ssh://foosball.example.org/path/to/branch dest: /srv/checkout version: 22
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/general/bzr_module.html