From d5f7c539036bee37f0baad271d26b4600a39f95d Mon Sep 17 00:00:00 2001 From: Ben Dixon Date: Sun, 22 Mar 2020 11:37:00 +0000 Subject: [PATCH] adds: note on how to apply single role --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 08151f6..b349da5 100644 --- a/README.md +++ b/README.md @@ -19,4 +19,10 @@ To run playbook: ``` ansible-playbook -i "localhost," -c local ansible_osx.yml --ask-become-pass +``` + +You can run a role directly with: + +``` +ansible localhost -m include_role -a name=dnsmasq --ask-become-pass ``` \ No newline at end of file