๐ Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: fail if role is not defined
|
|
fail:
|
|
msg: this_role variable is not defined or is not an object
|
|
when: this_role is not mapping
|
|
|
|
|
|
- name: include role
|
|
include_role:
|
|
name: "{{ this_role.role }}"
|
|
vars:
|
|
function: "{{ this_role.function | d(None) }}"
|
|
|