wip: adding trivalent policies

This commit is contained in:
mustard 2025-09-15 19:29:15 +02:00
parent 820518a8c4
commit 17aef4bb06
3 changed files with 27 additions and 2 deletions

View file

@ -7,10 +7,25 @@
- name: Add pactl service
ansible.builtin.copy:
src: 'etc/systemd/user/pactl.service'
dest: '/etc/systemd/user/pactl.service'
src: 'etc/systemd/system/pactl.service'
dest: '/etc/systemd/system/pactl.service'
mode: '0644'
- name: Enable pactl service
ansible.builtin.systemd_service:
name: 'pactl'
state: 'enabled'
daemon_reload: true
- name: Set trivalent enterprise policies
ansible.builtin.copy:
src: '{{ item }}'
dest: '/{{ item }}'
mode: '0644'
loop:
- 'etc/trivalent/policies/recommended/recommended_policies.json'
- 'etc/trivalent/policies/managed/managed_policies.json'
- name: Enable codecs and stuff
shell: 'sudo dnf config-manager setopt fedora-cisco-openh264.enabled=1 rpmfusion-free.enabled=1 rpmfusion-free-updates.enabled=1 rpmfusion-nonfree.enabled=1 rpmfusion-nonfree-updates.enabled=1'