Refactor RHEL7 repository installation command for better readability
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user