Do not use bare variables in with_items
this is deprecated and seems not already possible in Ansible 2.2 Change-Id: Id389e764b8cb7705dc9a1fcbe825e6829caace24
This commit is contained in:
parent
ee38716d16
commit
c93ed6a81f
@ -62,7 +62,7 @@
|
||||
|
||||
- name: "Install required packages"
|
||||
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
|
||||
with_items: required_packages
|
||||
with_items: "{{ required_packages }}"
|
||||
|
||||
- name: "Restart libvirt service"
|
||||
service: name="{{libvirt_service_name}}" state=restarted
|
||||
|
@ -18,7 +18,7 @@
|
||||
when: ansible_os_family == 'Debian'
|
||||
- name: "Install packages"
|
||||
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
|
||||
with_items: required_packages
|
||||
with_items: "{{ required_packages }}"
|
||||
# Step required for Ubuntu 14.10
|
||||
- name: "Install Ubuntu 14.10 (and later) packages"
|
||||
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
|
||||
|
@ -13,7 +13,7 @@
|
||||
---
|
||||
- name: "Install packages"
|
||||
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
|
||||
with_items: required_packages
|
||||
with_items: "{{ required_packages }}"
|
||||
|
||||
- name: "If VENV is set in the environment, enable installation into venv"
|
||||
set_fact:
|
||||
|
Loading…
Reference in New Issue
Block a user