From bf20c4126c8a35472814b2e9af2b0a8bd47106f8 Mon Sep 17 00:00:00 2001 From: Sayed Anisul Hoque Date: Tue, 12 Feb 2019 22:33:54 +0100 Subject: [PATCH] Updated the ansible-galaxy docs (#52070) * Updated the ansible-galaxy docs Updated the documentation that reflects the default branch that will be used for the `version` option in ansible-galaxy. +label: docsite_pr * Updated the documentation As per the code (https://github.com/ansible/ansible/blob/6d4307377fca671e2abba082f00167c2b63beedf/lib/ansible/galaxy/role.py#L237)[ansible/galaxy/role.py] Defaults to the branch set as a default in the repository otherwise defaults to the master. * Update docs/docsite/rst/reference_appendices/galaxy.rst Co-Authored-By: anis016 --- docs/docsite/rst/reference_appendices/galaxy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/reference_appendices/galaxy.rst b/docs/docsite/rst/reference_appendices/galaxy.rst index a55f0aea66..4537f665f1 100644 --- a/docs/docsite/rst/reference_appendices/galaxy.rst +++ b/docs/docsite/rst/reference_appendices/galaxy.rst @@ -99,7 +99,7 @@ Each role in the file will have one or more of the following attributes: scm Specify the SCM. As of this writing only *git* or *hg* are supported. See the examples below. Defaults to *git*. version: - The version of the role to download. Provide a release tag value, commit hash, or branch name. Defaults to *master*. + The version of the role to download. Provide a release tag value, commit hash, or branch name. Defaults to the branch set as a default in the repository, otherwise defaults to the *master*. name: Download the role to a specific name. Defaults to the Galaxy name when downloading from Galaxy, otherwise it defaults to the name of the repository.