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
This commit is contained in:
Tobias Vollmer 2019-02-18 21:07:30 +01:00 committed by Sandra McCann
parent 42cf50fbac
commit c5a1ec4692

View file

@ -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
=====