From c5a1ec4692d830709772700c83770070241b5b2f Mon Sep 17 00:00:00 2001 From: Tobias Vollmer <5nafu@users.noreply.github.com> Date: Mon, 18 Feb 2019 21:07:30 +0100 Subject: [PATCH] ansible-galaxy init does create a sub directory (#52390) `ansible-galaxy init` creates a directory named `role_name` (in the given example) instead of adding the structure in the current working directory. Additionally adding a clarification for repository creation as the proper repository root is not described yet. +label: docsite_pr --- .../rst/reference_appendices/galaxy.rst | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/docs/docsite/rst/reference_appendices/galaxy.rst b/docs/docsite/rst/reference_appendices/galaxy.rst index 4537f665f1..d18fb3bc3f 100644 --- a/docs/docsite/rst/reference_appendices/galaxy.rst +++ b/docs/docsite/rst/reference_appendices/galaxy.rst @@ -222,21 +222,24 @@ The above will create the following directory structure in the current working d :: - README.md - .travis.yml - defaults/ - main.yml - files/ - handlers/ - main.yml - meta/ - main.yml - templates/ - tests/ - inventory - test.yml - vars/ - main.yml + role_name/ + README.md + .travis.yml + defaults/ + main.yml + files/ + handlers/ + main.yml + meta/ + main.yml + templates/ + tests/ + inventory + test.yml + vars/ + main.yml + +If you want to create a repository for the role the repository root should be `role_name`. Force =====