Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
samba
Commits
943a5627
Commit
943a5627
authored
Oct 17, 2018
by
Robin Sonnabend
Browse files
Remove with_items from apt
parent
a3509716
Changes
4
Hide whitespace changes
Inline
Side-by-side
ad-auth/tasks/sssd.yml
View file @
943a5627
...
@@ -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
:
...
...
lvm-snapshots/tasks/main.yml
View file @
943a5627
...
@@ -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
...
...
nfs-client/tasks/main.yml
View file @
943a5627
...
@@ -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
...
...
nfs-server/tasks/main.yml
View file @
943a5627
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment