mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 23:21:22 -07:00
Remove extra display statements and add docs (#18229)
* Add docs for ansible-galaxy import --role-name option. * Add docs for ansible-galaxy init --container-enabled option.
This commit is contained in:
parent
bd9ca5ef28
commit
dceb2a0393
3 changed files with 33 additions and 5 deletions
|
@ -100,8 +100,9 @@ configured in your *ansible.cfg* file (/etc/ansible/roles if not configured)
|
|||
INIT
|
||||
----
|
||||
|
||||
The *init* command is used to create an empty role suitable for uploading
|
||||
to https://galaxy.ansible.com (or for roles in general).
|
||||
The *init* command is used to create a new role suitable for uploading
|
||||
to https://galaxy.ansible.com (or for roles in general). Creates a skeleton
|
||||
directory structure and default files.
|
||||
|
||||
USAGE
|
||||
~~~~~
|
||||
|
@ -124,6 +125,10 @@ working directory.
|
|||
|
||||
Don't query the galaxy API when creating roles
|
||||
|
||||
*--container-enabled*::
|
||||
|
||||
Initialize the new role with files appropriate for a Container Enabled role.
|
||||
|
||||
LIST
|
||||
----
|
||||
|
||||
|
@ -277,6 +282,10 @@ Provide a specific branch to import. When a branch is not specified the
|
|||
branch found in meta/main.yml is used. If no branch is specified in
|
||||
meta/main.yml, the repo's default branch (usually master) is used.
|
||||
|
||||
*--role-name*::
|
||||
|
||||
Set the name of the role. Otherwise, the name is derived from the
|
||||
name of the GitHub repository.
|
||||
|
||||
DELETE
|
||||
------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue