chromium
Ansible Role: Chromium
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
The simplest one
--- - hosts: all roles: - marverix.chromium
Install and allow root to run Chromium
--- - hosts: all roles: - role: marverix.chromium vars: chromium_allow_root: true
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 Browser on Linux
Install
ansible-galaxy install marverix/ansible-role-chromium
License
isc
Downloads
1568
Owner
Everyday normal Software Engineer