diff --git a/README.md b/README.md index 0da9fa2..7e9781b 100644 --- a/README.md +++ b/README.md @@ -63,15 +63,17 @@ Gathering Facts: Rassembler les faits 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 -$ ansible-playbook --connection=local --inventory 127.0.0.1, --limit 127.0.0.1 playbook.yml +$ ./demo.sh # 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 diff --git a/demo.sh b/demo.sh new file mode 100755 index 0000000..3d44f9c --- /dev/null +++ b/demo.sh @@ -0,0 +1,2 @@ +#!/bin/sh +ansible-playbook $@ --connection=local --inventory 127.0.0.1, --limit 127.0.0.1 playbook.yml