allow arbitrary limits for run script
parent
267205df8c
commit
ebbd80aa13
10
README.md
10
README.md
|
@ -22,8 +22,9 @@ Optional requriements where configuration is installed for:
|
|||
- [vim](https://www.vim.org/)
|
||||
- [zsh](https://www.zsh.org/)
|
||||
|
||||
An inventory file at `~/.config/ansible/hosts` with an entry for a host
|
||||
`webhost`. This may be a group if you want to target multiple hosts.
|
||||
An inventory file at `~/.config/ansible/hosts`. By default this will look for an
|
||||
entry for a host or group `webhost`, but you can pass any argument to the
|
||||
script to limit it.
|
||||
|
||||
Your machine requires the following:
|
||||
|
||||
|
@ -42,5 +43,8 @@ ansible-galaxy collection install -r requirements.yaml
|
|||
Run via the following:
|
||||
|
||||
```zsh
|
||||
./run.zsh
|
||||
./run.zsh [limit]
|
||||
```
|
||||
|
||||
Where `limit` is the limit, will default to `webhost` but any valid argument to
|
||||
`ansible-playbook --limit` will work.
|
||||
|
|
Loading…
Reference in New Issue