mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Solved bugs, restructured and added new functionality for clients/personal computers
This commit is contained in:
27
roles/client-browser-chromium/tasks/main.yml
Normal file
27
roles/client-browser-chromium/tasks/main.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
- name: Update package cache (Debian/Ubuntu)
|
||||
apt:
|
||||
update_cache: yes
|
||||
when: ansible_os_family == "Debian"
|
||||
|
||||
- name: Install Chromium browser
|
||||
package:
|
||||
name: "{{ chromium_package }}"
|
||||
state: present
|
||||
|
||||
- name: Install KeePassXC
|
||||
package:
|
||||
name: keepassxc
|
||||
state: present
|
||||
|
||||
- name: Ensure Chromium policies directory exists
|
||||
file:
|
||||
path: /etc/chromium/policies/managed
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: Copy the extensions policy file for Chromium
|
||||
template:
|
||||
src: extensions_policy.json.j2
|
||||
dest: /etc/chromium/policies/managed/extensions_policy.json
|
||||
mode: '0644'
|
Reference in New Issue
Block a user