fix: set trivalent policies after trivalent is installed

This commit is contained in:
mustard 2025-09-15 19:56:55 +02:00
parent 05c5e1e9f4
commit 31eed9779a

View file

@ -11,14 +11,6 @@
dest: '/etc/systemd/user/pactl.service' dest: '/etc/systemd/user/pactl.service'
mode: '0644' mode: '0644'
- name: Set trivalent enterprise policies
ansible.builtin.copy:
src: '{{ item }}'
dest: '/{{ item }}'
mode: '0644'
loop:
- 'etc/trivalent/policies/managed/managed_policies.json'
- name: Enable codecs and stuff - 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' 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'
@ -38,3 +30,13 @@
- trivalent - trivalent
state: 'present' state: 'present'
allowerasing: true allowerasing: true
- name: Set trivalent enterprise policies
ansible.builtin.copy:
src: '{{ item }}'
dest: '/{{ item }}'
mode: '0644'
loop:
- 'etc/trivalent/policies/managed/managed_policies.json'