jelaiw / hapi-lab

Virtual lab for Corey Ball's "Hacking APIs" book.
0 stars 1 forks source link

Install Google Chrome for Debian-like systems #29

Closed jelaiw closed 1 year ago

jelaiw commented 1 year ago

https://ansiblepilot.medium.com/install-google-chrome-in-debian-like-systems-ansible-module-apt-key-apt-repository-and-apt-abcd739cebd4

jelaiw commented 1 year ago

Confirm ansible apt repo module seems to be doing the expected thing.

$ ls /etc/apt/sources.list.d 
google-chrome.list
$ cat /etc/apt/sources.list.d/google-chrome.list 
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
jelaiw commented 1 year ago

Same for apt key module.

$ ls /etc/apt/trusted.gpg.d 
debian-archive-bookworm-automatic.asc           debian-archive-bullseye-security-automatic.asc  debian-archive-buster-stable.asc
debian-archive-bookworm-security-automatic.asc  debian-archive-bullseye-stable.asc              google-chrome.gpg
debian-archive-bookworm-stable.asc              debian-archive-buster-automatic.asc             kali-archive-keyring.gpg
debian-archive-bullseye-automatic.asc           debian-archive-buster-security-automatic.asc

$ file /etc/apt/trusted.gpg.d/google-chrome.gpg 
/etc/apt/trusted.gpg.d/google-chrome.gpg: OpenPGP Public Key Version 4, Created Tue Apr 12 05:51:15 2016, RSA (Encrypt or Sign, 4096 bits); User ID; Signature; OpenPGP Certificate