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

Remove with_items from apt

parent a3509716
...@@ -2,17 +2,19 @@ ...@@ -2,17 +2,19 @@
# file: roles/ad-auth/tasks/sssd.yml # file: roles/ad-auth/tasks/sssd.yml
- name: ensure sssd is installed - name: ensure sssd is installed
apt: name="{{ item }}" state=present install_recommends=no apt:
with_items: name:
- sssd - sssd
- libpam-sss - libpam-sss
- libnss-sss - libnss-sss
- sssd-tools - sssd-tools
- realmd - realmd
- policykit-1 # this is required for realm to discover realms... - policykit-1 # this is required for realm to discover realms...
- adcli # this is required for realm to join 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... - packagekit # this is required for realm to i don't know and don't even care anymore...
- cracklib-runtime - cracklib-runtime
state: present
install_recommends: no
notify: notify:
- clear sssd cache - clear sssd cache
tags: tags:
......
...@@ -65,10 +65,11 @@ ...@@ -65,10 +65,11 @@
- lvm-snapshots - lvm-snapshots
- name: ensure the necessary programs are installed - name: ensure the necessary programs are installed
apt: name="{{item}}" state=present apt:
with_items: name:
- python3 - python3
- virtualenv - virtualenv
state: present
tags: tags:
- packages - packages
- lvm-snapshots - lvm-snapshots
......
...@@ -2,21 +2,23 @@ ...@@ -2,21 +2,23 @@
# file: roles/nfs-client/tasks/main.yml # file: roles/nfs-client/tasks/main.yml
- name: ensure nfs client utils are installed - name: ensure nfs client utils are installed
apt: name="{{ item }}" state=present apt:
with_items: name:
- nfs-common - nfs-common
- libgssrpc4 - libgssrpc4
- librpcsecgss3 - librpcsecgss3
- autofs - autofs
state: present
tags: tags:
- nfs-client - nfs-client
- packages - packages
- name: ensure cifs client utils are installed - name: ensure cifs client utils are installed
apt: name="{{ item }}" state=present apt:
with_items: name:
- cifs-utils - cifs-utils
- smbclient - smbclient
state: present
when: nfs_enable_cifs when: nfs_enable_cifs
tags: tags:
- nfs-client - nfs-client
......
...@@ -2,13 +2,14 @@ ...@@ -2,13 +2,14 @@
# file: roles/nfs-server/tasks/main.yml # file: roles/nfs-server/tasks/main.yml
- name: ensure nfs server utils are installed - name: ensure nfs server utils are installed
apt: name="{{ item }}" state=present apt:
with_items: name:
- nfs-common - nfs-common
- nfs-kernel-server - nfs-kernel-server
- msktutil - msktutil
- librpcsecgss3 - librpcsecgss3
- libgssrpc4 - libgssrpc4
state: present
tags: tags:
- nfs-server - nfs-server
- packages - packages
......
Supports Markdown
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