ceph-ansible/roles/ceph-common/tasks/installs/install_redhat_packages.yml

16 lines
425 B
YAML

---
- name: install centos dependencies
yum:
name: "{{ centos_package_dependencies }}"
state: present
register: result
until: result is succeeded
when:
- ansible_distribution == 'CentOS'
- name: install redhat ceph packages
package:
name: "{{ redhat_ceph_pkgs | unique }}"
state: "{{ (upgrade_ceph_packages|bool) | ternary('latest','present') }}"
register: result
until: result is succeeded