Use loop to install packages

This commit is contained in:
Till Maas 2018-08-01 23:34:32 +02:00
parent 23605615da
commit e1bb399311

View file

@ -9,12 +9,11 @@
- ansible_distribution in ['RedHat', 'CentOS']
- ansible_distribution_major_version in ['6', '7']
# FIXME: change with_items to loop when test-harness is updated
- package:
name: "{{ item }}"
state: present
ignore_errors: true
with_items:
loop:
- NetworkManager-libnm
- python2-gobject-base
- python3-gobject-base