mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2025-01-05 15:00:21 +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.
|
||||
apt: "name={{ item }} state=present"
|
||||
with_items:
|
||||
- nfs-common
|
||||
- nfs-kernel-server
|
||||
apt:
|
||||
name:
|
||||
- nfs-common
|
||||
- nfs-kernel-server
|
||||
state: present
|
||||
|
|
Loading…
Reference in a new issue