marverix / ansible-role-chromium

Ansible role that installs Chromium on Linux

Home Page:https://galaxy.ansible.com/marverix/chromium

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role: Chromium

Build Status Ansible Quality Score Ansible Role License: ISC

Ansible role that installs Ungoogled Chromium on Linux.

Features

  • ✔️ Installing Ungoogled Chromium
  • ✔️ You can defined which version to install (by changing the URL)
  • ✔️ Set up flags
  • ✔️ Tested with Molecule Verify

Supported Platforms

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

Requirements

None

Role Variables

Variable Description Default Value
chromium_archive_url URL of Ungoogled Chromium archive link to Chromium 89
chromium_archive_sha1 SHA1 of the archive SHA1 for the above package
chromium_allow_root Should root be allowed to run Chromium? Sets no-sandbox flag. true
chromium_disable_gpu Should disable GPU? Sets disable-gpu flag. true
chromium_disable_web_security Should disable web security? Dangerous, but may be useful in some special dev cases. Sets disable-web-security flag. false
chromium_ignore_certificate_errors Should ignore certificate errors? Sets ignore-certificate-errors flag. false
chromium_custom_flags List of other flags to set. Flags mustn't be with -- prefix! []

Dependencies

None

Example Playbook

  1. The simplest one

    ---
    - 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

    BTW: Here is some good list of flags https://peter.sh/experiments/chromium-command-line-switches/

License

ISC

About

Ansible role that installs Chromium on Linux

https://galaxy.ansible.com/marverix/chromium

License:ISC License


Languages

Language:Shell 100.0%