Add ansible
This commit is contained in:
parent
b05da77aa4
commit
67254dd3d7
4 changed files with 25 additions and 0 deletions
|
@ -9,3 +9,7 @@
|
||||||
- [Tools](./dev/tools/main.md)
|
- [Tools](./dev/tools/main.md)
|
||||||
- [Git](./dev/tools/git.md)
|
- [Git](./dev/tools/git.md)
|
||||||
- [SVN](./dev/tools/svn.md)
|
- [SVN](./dev/tools/svn.md)
|
||||||
|
|
||||||
|
- [Ops](./ops/main.md)
|
||||||
|
- [Tools](./ops/tools/main.md)
|
||||||
|
- [Ansible](./ops/tools/ansible.md)
|
||||||
|
|
1
src/ops/main.md
Normal file
1
src/ops/main.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# Ops
|
19
src/ops/tools/ansible.md
Normal file
19
src/ops/tools/ansible.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Ansible
|
||||||
|
|
||||||
|
## List all tags
|
||||||
|
|
||||||
|
```shell
|
||||||
|
ansible-playbook -i host.targets -v site.yml --list-tags
|
||||||
|
```
|
||||||
|
|
||||||
|
## Start at a specific task (life savior)
|
||||||
|
|
||||||
|
```shell
|
||||||
|
ansible-playbook -i host.targets -v site.yml --start-at-task "The audacious task"
|
||||||
|
```
|
||||||
|
|
||||||
|
## List hosts
|
||||||
|
|
||||||
|
```shell
|
||||||
|
ansible-playbook -i host.targets -v site.yml --list-hosts
|
||||||
|
```
|
1
src/ops/tools/main.md
Normal file
1
src/ops/tools/main.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# Tools
|
Loading…
Reference in a new issue