]> git.phdru.name Git - ansible.git/blobdiff - playbooks/run-role.yml
Feat(run-role): Run a role using a universal playbook
[ansible.git] / playbooks / run-role.yml
diff --git a/playbooks/run-role.yml b/playbooks/run-role.yml
new file mode 100644 (file)
index 0000000..bc17964
--- /dev/null
@@ -0,0 +1,5 @@
+- name: "Run role {{ role }}"
+  hosts: "{{ hosts | default('all') }}"
+  gather_facts: false
+  roles:
+    - "{{ role }}"