Generalizzato il tipo d'installazione per 2/64 bit.

This commit is contained in:
Emiliano Vavassori 2020-05-23 18:01:21 +02:00
parent 9c859b60b8
commit 37941a6eb3
3 changed files with 19 additions and 7 deletions

View file

@ -2,9 +2,13 @@
- block:
- get_url:
url: "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
dest: /tmp/google-chrome-stable_current_amd64.deb
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_amd64.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