mirror of https://github.com/ceph/ceph-ansible.git
commit
7649ff247e
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: install dependencies
|
- name: install redhat dependencies via yum
|
||||||
yum:
|
yum:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -8,7 +8,16 @@
|
||||||
- ansible_distribution == "RedHat"
|
- ansible_distribution == "RedHat"
|
||||||
- ansible_pkg_mgr == "yum"
|
- ansible_pkg_mgr == "yum"
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install redhat dependencies via dnf
|
||||||
|
dnf:
|
||||||
|
name: "{{ item }}"
|
||||||
|
state: present
|
||||||
|
with_items: redhat_package_dependencies
|
||||||
|
when:
|
||||||
|
- ansible_distribution == "RedHat"
|
||||||
|
- ansible_pkg_mgr == "dnf"
|
||||||
|
|
||||||
|
- name: install centos dependencies via yum
|
||||||
yum:
|
yum:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -17,7 +26,7 @@
|
||||||
- ansible_distribution == "CentOS"
|
- ansible_distribution == "CentOS"
|
||||||
- ansible_pkg_mgr == "yum"
|
- ansible_pkg_mgr == "yum"
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install centos dependencies via dnf
|
||||||
dnf:
|
dnf:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
|
@ -1,15 +1,25 @@
|
||||||
---
|
---
|
||||||
- name: install dependencies
|
- name: install debian dependencies
|
||||||
apt:
|
apt:
|
||||||
pkg: parted
|
pkg: parted
|
||||||
state: present
|
state: present
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install redhat dependencies via yum
|
||||||
yum:
|
yum:
|
||||||
name: parted
|
name: parted
|
||||||
state: present
|
state: present
|
||||||
when: ansible_os_family == 'RedHat'
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
|
- ansible_pkg_mgr == "yum"
|
||||||
|
|
||||||
|
- name: install redhat rependencies via dnf
|
||||||
|
dnf:
|
||||||
|
name: parted
|
||||||
|
state: present
|
||||||
|
when:
|
||||||
|
- ansible_os_family == 'RedHat'
|
||||||
|
- ansible_pkg_mgr == "dnf"
|
||||||
|
|
||||||
- name: create bootstrap-osd directory
|
- name: create bootstrap-osd directory
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in New Issue