]> git.immae.eu Git - github/fretlink/ansible-rundeck-jobs.git/commitdiff
update example to be more readable 1/head
authorGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>
Wed, 12 Sep 2018 12:52:52 +0000 (14:52 +0200)
committerGaëtan Duchaussois <gaetan.duchaussois@fretlink.com>
Wed, 12 Sep 2018 12:52:52 +0000 (14:52 +0200)
README.md

index 3c96d1eae973a6d3f27f386078a37e612ba6e6ad..618efd9437d494e2215754688595dfe69cdeefad 100644 (file)
--- a/README.md
+++ b/README.md
@@ -29,8 +29,12 @@ Example Playbook
 Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
 
     - hosts: servers
+      vars:
+        rundeck_api_url: rundeck.example.com
+        rundeck_project: test
+        rundeck_jobs_path: /tmp/rundeck-jobs
       roles:
-         - { role: rundeck-jobs, rundeck_api_url: rundeck.example.com, rundeck_project: test, rundeck_jobs_path: /tmp/rundeck-jobs }
+        - rundeck-jobs
 
 License
 -------