ansible-galaxy: add role info and collection info examples (#6187)
This commit is contained in:
@@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
- Install a role:
|
- Install a role:
|
||||||
|
|
||||||
`ansible-galaxy install {{username.role_name}}`
|
`ansible-galaxy install {{username}}.{{role_name}}`
|
||||||
|
|
||||||
- Remove a role:
|
- Remove a role:
|
||||||
|
|
||||||
`ansible-galaxy remove {{username.role_name}}`
|
`ansible-galaxy remove {{username}}.{{role_name}}`
|
||||||
|
|
||||||
- List installed roles:
|
- List installed roles:
|
||||||
|
|
||||||
@@ -22,3 +22,11 @@
|
|||||||
- Create a new role:
|
- Create a new role:
|
||||||
|
|
||||||
`ansible-galaxy init {{role_name}}`
|
`ansible-galaxy init {{role_name}}`
|
||||||
|
|
||||||
|
- Get information about a user role:
|
||||||
|
|
||||||
|
`ansible-galaxy role info {{username}}.{{role_name}}`
|
||||||
|
|
||||||
|
- Get information about a collection:
|
||||||
|
|
||||||
|
`ansible-galaxy collection info {{username}}.{{collection_name}}`
|
||||||
|
Reference in New Issue
Block a user