- name: Install puppet packages include_tasks: "{{ lookup('first_found', params) }}" vars: params: files: - "{{ ansible_distribution_release }}.yaml" - "{{ ansible_distribution }}.yaml" - "{{ ansible_os_family }}.yaml" - "default.yaml" paths: - puppet-install