enable repos

This commit is contained in:
willtome
2022-02-16 12:45:32 -05:00
parent 9acae75e4b
commit 5e34928e85

View File

@@ -32,6 +32,12 @@
validate_certs: no
when: sat_url is defined
- name: manage repos with subscription mangler
ansible.builtin.lineinfile:
path: /etc/rhsm/rhsm.conf
regexp: '^manage_repos'
line: 'manage_repos = 1'
- name: register subscription mangler
community.general.redhat_subscription:
state: present