blob: 9a495ffbc83ca14dd1e02b981beb0fdf82273eee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
---
- name: "Apply role {{ myrole }} to hosts: {{ myhosts }}"
hosts: "{{ myhosts }}"
pre_tasks:
- name: cook some variables for roles that expect them to be cooked
set_fact:
install_cooked: "{{ install | default({}) }}"
network_cooked: "{{ network | default({}) }}"
vm_host_cooked: "{{ vm_host | default({}) }}"
roles:
- role: "{{ myrole }}"
|