path: "nodes/%{facts.ec2_metadata.hostname}.yaml"
- name: "Per-role data"
- mapped_paths: [roles, role, "roles/%{role}.yaml"]
+ mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"]
- name: "Per-type data"
path: "types/%{facts.ec2_metadata.instance-type}.yaml"