]> xn--ix-yja.es Git - alex.git/commitdiff
Add CRB dep for EPEL
authoralex <alex@pdp7.net>
Sat, 14 Oct 2023 12:09:29 +0000 (14:09 +0200)
committeralex <alex@pdp7.net>
Sat, 14 Oct 2023 12:09:29 +0000 (14:09 +0200)
personal_infra/playbooks/roles/apply_puppet/tasks/main.yml

index 2d6bdb230eebcb17cd578ebdb8e12d3139c0c413..6447daf99037b0b29e08078b41ed19bd3d07965e 100644 (file)
@@ -36,6 +36,9 @@
     dest: "{{ inventory_dir }}/build/puppet/host_vars/{{ inventory_hostname }}/this.json"
     content: "{{ hostvars[inventory_hostname] }}"
   tags: puppet_fast
+- name: enable crb
+  command: dnf config-manager --set-enabled crb
+  when: ansible_distribution_file_variety == 'RedHat' and ansible_distribution_major_version == '9'
 - name: install epel
   package:
     name: epel-release