Add ansible limit hosts
This commit is contained in:
parent
7337c0b173
commit
300c4da317
1 changed files with 6 additions and 0 deletions
|
@ -17,3 +17,9 @@ ansible-playbook -i host.targets -v site.yml --start-at-task "The audacious task
|
||||||
```shell
|
```shell
|
||||||
ansible-playbook -i host.targets -v site.yml --list-hosts
|
ansible-playbook -i host.targets -v site.yml --list-hosts
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Limit hosts
|
||||||
|
|
||||||
|
```shell
|
||||||
|
ansible-playbook -i host.targets -v site.yml --limit hostname
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue