From 49ae207b66ddc871b7289bf46cf9f86d4313884d Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 16 May 2020 21:12:29 +0200 Subject: [PATCH] improve docs --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index aa6baab..1df60bf 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,12 @@ install role: ansible-galaxy install do1jlr.ranger ``` +You can execute the role **directly via ansible ad-hoc command**, but it is highly recomended to create a ansible playbook +```bash +# example ad-hoc command +ansible -m include_role -a "name=do1jlr.ranger" localhost +``` + Example Ansible-Playbook: ```yml --- @@ -33,13 +39,8 @@ Example Ansible-Playbook: - do1jlr.ranger ``` -You can execute the role directly via ansible ad-hoc commands, but it is highly recomended to create a ansible playbook -```bash -# example ad-hoc command -ansible -m include_role -a "name=do1jlr.ranger" localhost -``` -### use directly +### use via git command clone github repo: ```bash