mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-11-09 13:23:29 +01:00
Pass the list of packages to apt directly
The current method results in a deprecation warning on the latest version of Ansible.
This commit is contained in:
parent
f2778aa96f
commit
48114e97f7
1 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Ensure NFS utilities are installed.
|
- name: Ensure NFS utilities are installed.
|
||||||
apt: "name={{ item }} state=present"
|
apt:
|
||||||
with_items:
|
name:
|
||||||
- nfs-common
|
- nfs-common
|
||||||
- nfs-kernel-server
|
- nfs-kernel-server
|
||||||
|
state: present
|
||||||
|
|
Loading…
Reference in a new issue