Skip to content

Commit

Permalink
Install Chrome using apt (key+repo+package) and get rid of cmprescott…
Browse files Browse the repository at this point in the history
….chrome
  • Loading branch information
OrBin committed Dec 10, 2023
1 parent 0c88dbb commit 19394f9
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions tasks/basic-consumer-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,22 @@
- vlc
become: yes

- name: Install Google Chrome
import_role:
name: cmprescott.chrome
vars:
chrome_latest_version: true
- name: Add Google linux signing key (for Chrome)
apt_key:
url: https://dl-ssl.google.com/linux/linux_signing_key.pub
become: yes

- name: Add Google Chrome repo
apt_repository:
repo: "deb [arch={{packages_architecture}}] http://dl.google.com/linux/chrome/deb/ stable main"
filename: /etc/apt/sources.list.d/google-chrome.list
update_cache: yes
become: yes

- name: Install Google chrome
apt:
name: google-chrome-stable
state: latest

Check warning on line 28 in tasks/basic-consumer-tools.yml

View workflow job for this annotation

GitHub Actions / test

[LOW] Unpinned Package Version

Setting state to latest performs an update and installs additional packages possibly resulting in performance degradation or loss of service
become: yes

- name: Set Google Chrome as the default browser
Expand Down

0 comments on commit 19394f9

Please sign in to comment.