mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-31 00:17:56 +01:00
24 lines
448 B
Markdown
24 lines
448 B
Markdown
# ansible-galaxy
|
|
|
|
> Create and manage Ansible roles.
|
|
> More information: <https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html>.
|
|
|
|
- Install a role:
|
|
|
|
`ansible-galaxy install {{username.role_name}}`
|
|
|
|
- Remove a role:
|
|
|
|
`ansible-galaxy remove {{username.role_name}}`
|
|
|
|
- List installed roles:
|
|
|
|
`ansible-galaxy list`
|
|
|
|
- Search for a given role:
|
|
|
|
`ansible-galaxy search {{role_name}}`
|
|
|
|
- Create a new role:
|
|
|
|
`ansible-galaxy init {{role_name}}`
|