Merge pull request #2030 from major/ceph-common-pass-pkgs-as-list

Pass list of packages instead of with_items
pull/2035/head
Sébastien Han 2017-10-12 09:15:58 +02:00 committed by GitHub
commit 739a41ae91
1 changed files with 2 additions and 4 deletions

View File

@ -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'