Commit 943a5627 authored by Robin Sonnabend's avatar Robin Sonnabend

Remove with_items from apt

parent a3509716
......@@ -2,17 +2,19 @@
# file: roles/ad-auth/tasks/sssd.yml
- name: ensure sssd is installed
apt: name="{{ item }}" state=present install_recommends=no
with_items:
- sssd
- libpam-sss
- libnss-sss
- sssd-tools
- realmd
- policykit-1 # this is required for realm to discover realms...
- adcli # this is required for realm to join realms...
- packagekit # this is required for realm to i don't know and don't even care anymore...
- cracklib-runtime
apt:
name:
- sssd
- libpam-sss
- libnss-sss
- sssd-tools
- realmd
- policykit-1 # this is required for realm to discover realms...
- adcli # this is required for realm to join realms...
- packagekit # this is required for realm to i don't know and don't even care anymore...
- cracklib-runtime
state: present
install_recommends: no
notify:
- clear sssd cache
tags:
......
......@@ -65,10 +65,11 @@
- lvm-snapshots
- name: ensure the necessary programs are installed
apt: name="{{item}}" state=present
with_items:
- python3
- virtualenv
apt:
name:
- python3
- virtualenv
state: present
tags:
- packages
- lvm-snapshots
......
......@@ -2,21 +2,23 @@
# file: roles/nfs-client/tasks/main.yml
- name: ensure nfs client utils are installed
apt: name="{{ item }}" state=present
with_items:
- nfs-common
- libgssrpc4
- librpcsecgss3
- autofs
apt:
name:
- nfs-common
- libgssrpc4
- librpcsecgss3
- autofs
state: present
tags:
- nfs-client
- packages
- name: ensure cifs client utils are installed
apt: name="{{ item }}" state=present
with_items:
- cifs-utils
- smbclient
apt:
name:
- cifs-utils
- smbclient
state: present
when: nfs_enable_cifs
tags:
- nfs-client
......
......@@ -2,13 +2,14 @@
# file: roles/nfs-server/tasks/main.yml
- name: ensure nfs server utils are installed
apt: name="{{ item }}" state=present
with_items:
- nfs-common
- nfs-kernel-server
- msktutil
- librpcsecgss3
- libgssrpc4
apt:
name:
- nfs-common
- nfs-kernel-server
- msktutil
- librpcsecgss3
- libgssrpc4
state: present
tags:
- nfs-server
- packages
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment