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:
parent
42cf50fbac
commit
c5a1ec4692
1 changed files with 18 additions and 15 deletions
|
@ -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
|
||||
=====
|
||||
|
|
Loading…
Reference in a new issue