Refactor RHEL7 repository installation command for better readability

This commit is contained in:
2025-04-24 19:16:22 +02:00
parent 5253d4dd41
commit e980abcb2e
+4 -1
View File
@@ -199,7 +199,10 @@
- name: Install Extras and HA for RHEL7
become: true
ansible.builtin.command: subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms" --enable "rhel-ha-for-rhel-*-server-rpms"
ansible.builtin.command: >
subscription-manager repos --enable "rhel-*-optional-rpms"
--enable "rhel-*-extras-rpms"
--enable "rhel-ha-for-rhel-*-server-rpms"
changed_when: false
tags:
- dnf