mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-11-08 12:53:30 +01:00
Fix deprecation warnings in Ansible 2.5 for state 'present'.
This commit is contained in:
parent
32476114c1
commit
5e25122d12
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Ensure NFS utilities are installed.
|
||||
apt: "name={{ item }} state=installed"
|
||||
apt: "name={{ item }} state=present"
|
||||
with_items:
|
||||
- nfs-common
|
||||
- nfs-kernel-server
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Ensure NFS utilities are installed.
|
||||
package: name=nfs-utils state=installed
|
||||
package: name=nfs-utils state=present
|
||||
|
||||
- name: Ensure rpcbind is running.
|
||||
service: name=rpcbind state=started enabled=yes
|
||||
|
|
Loading…
Reference in a new issue