1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 role_name/
.travis.yml README.md
defaults/ .travis.yml
main.yml defaults/
files/ main.yml
handlers/ files/
main.yml handlers/
meta/ main.yml
main.yml meta/
templates/ main.yml
tests/ templates/
inventory tests/
test.yml inventory
vars/ test.yml
main.yml vars/
main.yml
If you want to create a repository for the role the repository root should be `role_name`.
Force Force
===== =====