marverix.chromium

Ansible Role: Chromium

Build Status Ansible Quality Score Ansible Role License: ISC

This Ansible role installs Ungoogled Chromium on Linux.

Features

  • ✔️ Installs Ungoogled Chromium
  • ✔️ You can choose which version to install (by adjusting the URL)
  • ✔️ Allows setup of specific flags
  • ✔️ Verified using Molecule testing

Supported Platforms

  • ✔️ Ubuntu 18.04 (Bionic)
  • ✔️ Ubuntu 20.04 (Focal)
  • ✔️ CentOS 7
  • ✔️ CentOS 8

Requirements

No special requirements

Role Variables

Variable Description Default Value
chromium_archive_url Link to the Ungoogled Chromium archive Chromium 89 link
chromium_archive_sha1 SHA1 for the archive SHA1 for the package above
chromium_allow_root Can root run Chromium? Enables no-sandbox flag. true
chromium_disable_gpu Should GPU be disabled? Enables disable-gpu flag. true
chromium_disable_web_security Should web security be turned off? This is risky but can be helpful in some cases. Enables disable-web-security flag. false
chromium_ignore_certificate_errors Should certificate errors be ignored? Enables ignore-certificate-errors flag. false
chromium_custom_flags Other flags to set. Don't use -- at the start! []

Dependencies

None

Example Playbook

  1. The simplest way

    ---
    - hosts: all
      roles:
        - marverix.chromium
    
  2. Install and allow root to run Chromium

    ---
    - hosts: all
      roles:
        - role: marverix.chromium
          vars:
            chromium_allow_root: true
    
  3. Install, disable web security, and set other custom flags

    ---
    - hosts: all
      roles:
        - role: marverix.chromium
          vars:
            chromium_disable_web_security: true
            chromium_custom_flags:
              - enable-experimental-accessibility-features
              - incognito
    

    Note: Here is a helpful list of flags: https://peter.sh/experiments/chromium-command-line-switches/

License

ISC

Informazioni sul progetto

Ansible role that installs Chromium Browser on Linux

Installa
ansible-galaxy install marverix.chromium
Licenza
isc
Download
1.6k
Proprietario
Everyday normal Software Engineer