Update usage of apt module, move away from deprecated loop approach

This commit is contained in:
Alexander Grothe
2018-10-05 17:49:39 +02:00
parent febd80390f
commit 96b029fd24
13 changed files with 647 additions and 682 deletions

View File

@@ -2,12 +2,11 @@
- name: install nfs server packages
apt:
name: '{{ item }}'
name:
- nfs-kernel-server
- nfs-common
state: present
install_recommends: no
with_items:
- nfs-kernel-server
- nfs-common
- name: create /etc/exports
template: