From 9d2ee07435833ee795ff62352ecf5a9105a65827 Mon Sep 17 00:00:00 2001 From: Laur Ivan Date: Mon, 26 Sep 2022 12:19:16 +0200 Subject: [PATCH] Add example playbook. --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cff32e2..262f0f8 100644 --- a/README.md +++ b/README.md @@ -93,11 +93,15 @@ A list of other roles hosted on Galaxy should go here, plus any details in regar ## 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: +```yml +- name: Example playbook + hosts: services + vars: + bonob_enabled: "true" + roles: + - 'laurivan.navidrome' - - hosts: servers - roles: - - { role: username.rolename, x: 42 } +``` ## License