a bit of cleaning and testing, pipeline successful

This commit is contained in:
2025-07-28 07:56:52 -07:00
parent 211930cde3
commit c36e56f234
10 changed files with 67 additions and 54 deletions

View File

@ -2,20 +2,20 @@
###############################################
# Install Chrome
- name: Chrome - Chrome - Check if installed
- name: carputer - Chrome - Check if chrome installed
command: dpkg -l google-chrome-stable
register: chrome_installed
ignore_errors: true
- name: Chrome - Chrome - Set chrome_present variable
- name: carputer - Chrome - Set chrome_present variable
set_fact:
chrome_present: "{{ chrome_installed.rc == 0 }}"
- name: Chrome - Install Chrome
- name: carputer - 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
- name: carputer - Chrome - Create User Service Folder
file:
path: /home/cosmos/.config/systemd/user
state: directory
@ -23,8 +23,9 @@
group: cosmos
mode: '0700'
- name: Chrome - clear user cache
shell: "rm -R /home/cosmos/.config/google-chrome"
#- name: carputer - Chrome - clear user cache
# shell: "rm -R /home/cosmos/.config/google-chrome"
###############################################
# Configure Kiosks