run_role.yml 186 Bytes
Newer Older
1
---
2
# Runs an ansible role
3
# Usage:
4
#   ansible-playbook ./run_role.yml -i "hostname," -e role=my_awesome_role
5 6 7
#
- hosts: all
  sudo: True
8
  gather_facts: True
9 10
  roles:
    - "{{role}}"