mirror of
https://github.com/linux-system-roles/network.git
synced 2026-07-21 02:11:23 +00:00
Use loop to install packages
This commit is contained in:
parent
23605615da
commit
e1bb399311
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue