mirror of https://github.com/ceph/ceph-ansible.git
20 lines
431 B
YAML
20 lines
431 B
YAML
---
|
|
- name: install redhat dependencies
|
|
package:
|
|
name: "{{ redhat_package_dependencies }}"
|
|
state: present
|
|
when:
|
|
- ansible_distribution == 'RedHat'
|
|
|
|
- name: install centos dependencies
|
|
yum:
|
|
name: "{{ centos_package_dependencies }}"
|
|
state: present
|
|
when:
|
|
- ansible_distribution == 'CentOS'
|
|
|
|
- name: install redhat ceph packages
|
|
package:
|
|
name: "{{ redhat_ceph_pkgs | unique }}"
|
|
state: present
|