tuttinrete/roles/googlechrome/tasks/main.yml

15 lines
390 B
YAML

---
- 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