mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 18:26:00 +02:00
ansible-galaxy: add role info and collection info examples (#6187)
This commit is contained in:
parent
6b8fdbee8e
commit
b5fbf4c24d
1 changed files with 10 additions and 2 deletions
|
@ -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}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue