diff options
| author | alex <alex@pdp7.net> | 2023-10-14 18:05:26 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-10-14 18:06:31 +0200 |
| commit | da338069201d5894707019dc66844409d0fe3935 (patch) | |
| tree | 83eb601fa4598ddc8c6a13f954c6f725fb6f96b6 | |
| parent | a79b1b78a565a7b4d12297fc7814b9804c894fea (diff) | |
Install CRB dependency config-manager
| -rw-r--r-- | personal_infra/playbooks/roles/apply_puppet/tasks/main.yml | 3 |
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' |
