# platform = multi_platform_all
# reboot = false
# strategy = configure
# complexity = low
# disruption = low
- name: Find {{{ FILEPATH }}} file(s)
  find:
    paths: "{{{ FILEPATH }}}"
    patterns: "{{{ FILENAME }}}"
  register: files_found
  tags:
    @ANSIBLE_TAGS@

- name: Set permissions for {{{ FILEPATH }}} file(s)
  file:
    path: "{{ item.path }}"
    mode: {{{ FILEMODE }}}
  with_items:
    - "{{ files_found.files }}"
  tags:
    @ANSIBLE_TAGS@
  @ANSIBLE_ENSURE_PLATFORM@

