]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
cobbler: Enable Cobbler 3 Stream on RHEL8
authorDavid Galloway <dgallowa@redhat.com>
Mon, 22 Aug 2022 01:20:45 +0000 (21:20 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Mon, 22 Aug 2022 02:02:06 +0000 (22:02 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/cobbler/tasks/yum_systems.yml

index 2c8ff95043333991cb408bf0e560ff18cd7f0139..01a6d0cb06bde68d02678e33feec1c83f95aa140 100644 (file)
@@ -1,4 +1,8 @@
 ---
+- name: Enable Cobbler 3 Stream on RHEL8
+  command: "dnf module enable cobbler:3"
+  when: ansible_distribution_major_version|int >= 8
+
 - name: Install cobbler
   yum:
     name: "{{ cobbler_package }}"