mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-13 15:55:44 +02:00
ansible-galaxy: add page (#1491)
This commit is contained in:
commit
c3a4edd934
1 changed files with 23 additions and 0 deletions
23
pages/common/ansible-galaxy.md
Normal file
23
pages/common/ansible-galaxy.md
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# ansible-galaxy
|
||||||
|
|
||||||
|
> Create and manage Ansible roles.
|
||||||
|
|
||||||
|
- 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}}`
|
Loading…
Add table
Reference in a new issue