playbook_misc-utils/run_role.yml

23 lines
534 B
YAML

---
#####################################################################
#
# This is a generic playbook to allow running a single role, withou
# having to create a specific high level playbook.
#
# Note:
#
# This playbook requires that you set the variable 'myrole' when calling
# as well setting any other variables that may be required by the role
# being called.
#
#####################################################################
- hosts: all
gather_facts: true
user: root
roles:
- role: "{{ myrole }}"
# EOF