aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--personal_infra/playbooks/roles/apply_puppet/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/personal_infra/playbooks/roles/apply_puppet/tasks/main.yml b/personal_infra/playbooks/roles/apply_puppet/tasks/main.yml
index 6447daf9..e2fe903f 100644
--- a/personal_infra/playbooks/roles/apply_puppet/tasks/main.yml
+++ b/personal_infra/playbooks/roles/apply_puppet/tasks/main.yml
@@ -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'