From fc3046759345a88436cadfeea5e6570b9eef3e7e Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Fri, 24 Jan 2014 15:39:30 -0600 Subject: [PATCH] Adding an "Example Playbook" section to the README template for ansible-galaxy Fixes 5397 --- bin/ansible-galaxy | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bin/ansible-galaxy b/bin/ansible-galaxy index 6fab3ed80b5..f46b9fd96e6 100755 --- a/bin/ansible-galaxy +++ b/bin/ansible-galaxy @@ -107,6 +107,15 @@ Dependencies A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. +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 + roles: + - { role: username.rolename, x: 42 } + License -------