demo.sh wrapper for easy demo
This commit is contained in:
parent
3119e3a4cf
commit
1966dd2878
10
README.md
10
README.md
|
@ -63,15 +63,17 @@ Gathering Facts: Rassembler les faits
|
||||||
|
|
||||||
Then, as you add task/play names don't forget to translate them.
|
Then, as you add task/play names don't forget to translate them.
|
||||||
|
|
||||||
# Example
|
# Demo
|
||||||
|
|
||||||
An example playbook.yml is provided in this repository for demo purposes. You can run it like this:
|
An example playbook.yml is provided in this repository for demo purposes. You can run it with the demo.sh script, which passes all arguments (such as -v and -vvv) to ansible-playbook:
|
||||||
|
|
||||||
```
|
```
|
||||||
# Following your locale
|
# Following your locale
|
||||||
$ ansible-playbook --connection=local --inventory 127.0.0.1, --limit 127.0.0.1 playbook.yml
|
$ ./demo.sh
|
||||||
# In french
|
# In french
|
||||||
$ LANG=fr ansible-playbook --connection=local --inventory 127.0.0.1, --limit 127.0.0.1 playbook.yml
|
$ LANG=fr ./demo.sh
|
||||||
|
# Display more info about stuff that changed
|
||||||
|
$ ./demo.sh -v
|
||||||
```
|
```
|
||||||
|
|
||||||
# FAQ
|
# FAQ
|
||||||
|
|
Loading…
Reference in New Issue