- name: Deploy iframe-handler.js
  template:
    src: iframe-handler.js.j2
    dest: "{{ INJ_DESKTOP_JS_FILE_DESTINATION }}"
    owner: "{{ NGINX.USER }}"
    group: "{{ NGINX.USER }}"
    mode: '0644'

- name: Get stat for iframe-handler.js
  stat:
    path: "{{ INJ_DESKTOP_JS_FILE_DESTINATION }}"
  register: inj_port_ui_js_stat

- name: Set inj_port_ui_js_version
  set_fact:
    inj_port_ui_js_version: "{{ inj_port_ui_js_stat.stat.mtime }}"
