- name: Include OS-specific tasks include_tasks: "{{ item }}" vars: params: files: "{{ distro_lookup_path }}" skip: true loop: "{{ query('first_found', params) }}" - name: Disable the puppet service service: name: puppet enabled: no state: stopped