Add ansible

This commit is contained in:
Wilfried OLLIVIER 2017-11-03 11:32:05 +01:00
parent b05da77aa4
commit 67254dd3d7
4 changed files with 25 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1 @@
# Ops

19
src/ops/tools/ansible.md Normal file
View 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
View file

@ -0,0 +1 @@
# Tools