]> xn--ix-yja.es Git - alex.git/commitdiff
Install CRB dependency config-manager
authoralex <alex@pdp7.net>
Sat, 14 Oct 2023 16:05:26 +0000 (18:05 +0200)
committeralex <alex@pdp7.net>
Sat, 14 Oct 2023 16:06:31 +0000 (18:06 +0200)
personal_infra/playbooks/roles/apply_puppet/tasks/main.yml

index 6447daf99037b0b29e08078b41ed19bd3d07965e..e2fe903faee6a6eed9d54a9e6b054344ecd1f9f5 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: install config manager
+  command: dnf install -y 'dnf-command(config-manager)'
+  when: ansible_distribution_file_variety == 'RedHat' and ansible_distribution_major_version == '9'
 - name: enable crb
   command: dnf config-manager --set-enabled crb
   when: ansible_distribution_file_variety == 'RedHat' and ansible_distribution_major_version == '9'