Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bodsch/ansible-chromium-headless
install and configure chromium-headless
https://github.com/bodsch/ansible-chromium-headless
ansible ansible-role automation chromedriver chromium chromium-headless
Last synced: 4 days ago
JSON representation
install and configure chromium-headless
- Host: GitHub
- URL: https://github.com/bodsch/ansible-chromium-headless
- Owner: bodsch
- License: apache-2.0
- Created: 2021-02-26T05:15:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-19T14:48:51.000Z (3 months ago)
- Last Synced: 2024-08-20T12:13:58.147Z (3 months ago)
- Topics: ansible, ansible-role, automation, chromedriver, chromium, chromium-headless
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: `chromium-headless`
Ansible role to install chromium-headless
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/bodsch/ansible-chromium-headless/main.yml?branch=main)][ci]
[![GitHub issues](https://img.shields.io/github/issues/bodsch/ansible-chromium-headless)][issues]
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/bodsch/ansible-chromium-headless)][releases]
[![Ansible Downloads](https://img.shields.io/ansible/role/d/bodsch/chromium_headless?logo=ansible)][galaxy][ci]: https://github.com/bodsch/ansible-chromium-headless/actions
[issues]: https://github.com/bodsch/ansible-chromium-headless/issues?q=is%3Aopen+is%3Aissue
[releases]: https://github.com/bodsch/ansible-chromium-headless/releases
[galaxy]: https://galaxy.ansible.com/ui/standalone/roles/bodsch/chromium_headless/## Requirements & Dependencies
Nothing
## Operating systems
Tested on
* Debian based
- Debian 10 / 11
- Ubuntu 20.04 / 22.04## usage
```yaml
chromium_headless_display: ":20.0"
chromium_headless_screen_geometry: "1440x900x24"chromium_headless_chromedriver_port: 4444
chromium_headless_chromedriver_whitelisted_ips: "127.0.0.1"
chromium_headless_chromedriver_url_base: ''
chromium_headless_chromedriver_extra_args: ''
```### Variables
[defaults/main.yml](defaults/main.yml)
|*Variable* | *Default Value* | *Description* |
| --- | --- | --- |
| `chromium_headless_display` | `20.0` | headless display port |
| `chromium_headless_screen_geometry` | `1440x900x24` | screen geometry |
| `chromium_headless_chromedriver_port` | `4444` | Port |
| `chromium_headless_chromedriver_whitelisted_ips` | `127.0.0.1` | whitelisted IPs |
| `chromium_headless_chromedriver_url_base` | `''` | url base |
| `chromium_headless_chromedriver_extra_args` | `''` | extra args |### Example Playbook
```
- hosts: all
roles:
- role: chromium-headless
```---
## Author and License
- Bodo Schulz
## License
[Apache](LICENSE)
`FREE SOFTWARE, HELL YEAH!`