30 lines
656 B
YAML
30 lines
656 B
YAML
---
|
|
|
|
###############################################
|
|
# Install Chromium
|
|
|
|
- name: chrome - Install Chromium
|
|
when: not refresh_special | bool
|
|
apt:
|
|
name: chromium
|
|
state: present
|
|
|
|
- name: Chrome - fine chromium binary
|
|
shell: "find /usr/bin/chromium*"
|
|
register: find_chromium
|
|
|
|
- name: Chrome - change var if chromium
|
|
# when: armcpu_check | bool
|
|
set_fact:
|
|
browser_binary: "{{ find_chromium.stdout_lines[0] }}"
|
|
|
|
###############################################
|
|
# Configure Kiosks
|
|
|
|
- name: Set up Chrome Kiosk Services
|
|
include_tasks: kiosk.yaml
|
|
loop: "{{ kiosk_service_templates }}"
|
|
loop_control:
|
|
loop_var: kiosk_service_items
|
|
|
|
... |