mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #2030 from major/ceph-common-pass-pkgs-as-list
Pass list of packages instead of with_itemspull/2035/head
commit
739a41ae91
|
@ -1,17 +1,15 @@
|
||||||
---
|
---
|
||||||
- name: install redhat dependencies
|
- name: install redhat dependencies
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ redhat_package_dependencies }}"
|
||||||
state: present
|
state: present
|
||||||
with_items: "{{ redhat_package_dependencies }}"
|
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == 'RedHat'
|
- ansible_distribution == 'RedHat'
|
||||||
|
|
||||||
- name: install centos dependencies
|
- name: install centos dependencies
|
||||||
yum:
|
yum:
|
||||||
name: "{{ item }}"
|
name: "{{ centos_package_dependencies }}"
|
||||||
state: present
|
state: present
|
||||||
with_items: "{{ centos_package_dependencies }}"
|
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == 'CentOS'
|
- ansible_distribution == 'CentOS'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue