OSDN Git Service

scripts/ci: remove unnecessary checks from CentOS playbook
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 Jan 2023 14:02:07 +0000 (15:02 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Feb 2023 12:21:13 +0000 (13:21 +0100)
Since this playbook is meant for a CentOS 8 install, no need to check
the facts.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/ci/org.centos/stream/8/build-environment.yml

index 42b0471..fe8807b 100644 (file)
@@ -17,8 +17,6 @@
         option: enabled
         value: "1"
       when:
-        - ansible_facts['distribution'] == 'CentOS'
-        - ansible_facts['distribution_major_version'] == '8'
         - centos_stream_8
 
     - name: Install basic packages to build QEMU on CentOS Stream 8
@@ -46,6 +44,4 @@
           - systemd-devel
         state: present
       when:
-        - ansible_facts['distribution'] == 'CentOS'
-        - ansible_facts['distribution_major_version'] == '8'
         - centos_stream_8