--- - block: - get_url: url: "https://dl.google.com/linux/direct/google-chrome-stable_current_{{ pkgarch }}.deb" dest: "/tmp/google-chrome-stable_current_{{ pkgarch }}.deb" - shell: dpkg -i "/tmp/google-chrome-stable_current_{{ pkgarch }}.deb" - file: name: "/tmp/google-chrome-stable_current_{{ pkgarch }}.deb" state: absent when: hwpoints|int >= 2