ansible-galaxy: add role info and collection info examples (#6187)

This commit is contained in:
Adrian Wyssmann
2021-07-08 12:27:17 +02:00
committed by GitHub
parent 6b8fdbee8e
commit b5fbf4c24d

View File

@@ -5,11 +5,11 @@
- Install a role:
`ansible-galaxy install {{username.role_name}}`
`ansible-galaxy install {{username}}.{{role_name}}`
- Remove a role:
`ansible-galaxy remove {{username.role_name}}`
`ansible-galaxy remove {{username}}.{{role_name}}`
- List installed roles:
@@ -22,3 +22,11 @@
- Create a new role:
`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}}`