]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
common: No more lsb!
authorDavid Galloway <dgallowa@redhat.com>
Wed, 17 Aug 2022 21:54:24 +0000 (17:54 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 17 Aug 2022 21:54:24 +0000 (17:54 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/common/tasks/rhel-entitlements.yml

index eeda6674af05c29081a9dc49023f0fda0ff7648c..207a68239ca1265812ae824263bc8732de7868be 100644 (file)
@@ -47,7 +47,7 @@
 # However, we do not want to lock the release ver on all our systems; just testnodes.
 - name: Set the releasever
   copy:
-    content: "{{ ansible_lsb.release }}"
+    content: "{{ ansible_distribution_version }}"
     dest: /etc/yum/vars/releasever
   when: inventory_hostname in groups['testnodes']