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
|
||||
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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue