google_chrome

Ansible role: google_chrome

Ansible role to install Google Chrome on Linux.

Requirements

In order to avoid using the command or shell modules and break idempotence, this role downloads the gpg key in /usr/share/keyrings/ without de-armoring it on Debian-based systems. The key in this format can only be used by SecureApt in version 1.4 or later (which appeared in stretch), as stated here.

Role Variables

google_chrome_state: present

The state of the google-chrome package.

google_chrome_gpg_key_url: https://dl.google.com/linux/linux_signing_key.pub
google_chrome_gpg_key_fingerpint: 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991

The Google Chrome gpg key URL and fingerprint.

google_chrome_rpm_repository_url: https://dl.google.com/linux/chrome/rpm/stable/x86_64
google_chrome_apt_repository_url: deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.asc] https://dl.google.com/linux/chrome/deb/ stable main

The Google Chrome apt and rpm repositories URL.

Dependencies

None

Example Playbook

- hosts: all
  roles:
     - role: egdoc.google_chrome

License

GPL-2.0

Author Information

Role created by Egidio Docile

About

Ansible role to install Google Chrome on Linux

Install
ansible-galaxy install egdoc/ansible-role-google_chrome
GitHub repository
License
Unknown
Downloads
227