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