mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 04:02:03 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,16 +10,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Pull a playbook from a VCS and execute a default local.yml playbook:
|
||||
|
||||
`ansible-pull -U {{repository_url}}`
|
||||
`ansible-pull {{[-U|--url]}} {{repository_url}}`
|
||||
|
||||
- Pull a playbook from a VCS and execute a specific playbook:
|
||||
|
||||
`ansible-pull -U {{repository_url}} {{playbook}}`
|
||||
`ansible-pull {{[-U|--url]}} {{repository_url}} {{playbook}}`
|
||||
|
||||
- Pull a playbook from a VCS at a specific branch and execute a specific playbook:
|
||||
|
||||
`ansible-pull -U {{repository_url}} -C {{branch}} {{playbook}}`
|
||||
`ansible-pull {{[-U|--url]}} {{repository_url}} {{[-C|--checkout]}} {{branch}} {{playbook}}`
|
||||
|
||||
- Pull a playbook from a VCS, specify hosts file and execute a specific playbook:
|
||||
|
||||
`ansible-pull -U {{repository_url}} -i {{hosts_file}} {{playbook}}`
|
||||
`ansible-pull {{[-U|--url]}} {{repository_url}} {{[-i|--inventory-file]}} {{hosts_file}} {{playbook}}`
|
||||
|
||||
Reference in New Issue
Block a user