diff --git a/roles/ceph-common/tasks/installs/install_redhat_packages.yml b/roles/ceph-common/tasks/installs/install_redhat_packages.yml index beafd0d0a..989dd3f88 100644 --- a/roles/ceph-common/tasks/installs/install_redhat_packages.yml +++ b/roles/ceph-common/tasks/installs/install_redhat_packages.yml @@ -1,17 +1,15 @@ --- - name: install redhat dependencies package: - name: "{{ item }}" + name: "{{ redhat_package_dependencies }}" state: present - with_items: "{{ redhat_package_dependencies }}" when: - ansible_distribution == 'RedHat' - name: install centos dependencies yum: - name: "{{ item }}" + name: "{{ centos_package_dependencies }}" state: present - with_items: "{{ centos_package_dependencies }}" when: - ansible_distribution == 'CentOS'