all working i think

This commit is contained in:
2025-07-28 06:21:45 -07:00
parent b740ba9991
commit 211930cde3
30 changed files with 900 additions and 117 deletions

35
tasks/chrome.yaml Normal file
View File

@ -0,0 +1,35 @@
---
###############################################
# Install Chrome
- name: Chrome - Chrome - Check if installed
command: dpkg -l google-chrome-stable
register: chrome_installed
ignore_errors: true
- name: Chrome - Chrome - Set chrome_present variable
set_fact:
chrome_present: "{{ chrome_installed.rc == 0 }}"
- name: Chrome - Install Chrome
include_tasks: /var/jenkins_home/ansible/roles/install_apps/tasks/chrome.yaml
when: not chrome_present | bool
- name: Chrome - Create User Service Folder
file:
path: /home/cosmos/.config/systemd/user
state: directory
owner: cosmos
group: cosmos
mode: '0700'
- name: Chrome - clear user cache
shell: "rm -R /home/cosmos/.config/google-chrome"
###############################################
# Configure Kiosks
- name: Set up Chrome Kiosk Services
include_tasks: kiosk.yaml
loop: "{{ kiosk_service_templates }}"
...