Commit ad9afb4a authored by Thomas Schneider's avatar Thomas Schneider
Browse files

nfs-client: enable rpc-svcgssd iff we use kerberized NFS

parent ab89ed24
Pipeline #2501 passed with stage
in 43 seconds
...@@ -2,3 +2,4 @@ ...@@ -2,3 +2,4 @@
nfs_enable_cifs: false nfs_enable_cifs: false
nfs_enable_quota: false nfs_enable_quota: false
nfs_enable_gss: true
--- ---
# file: roles/nfs-client/tasks/main.yml
- name: ensure nfs client utils are installed - name: ensure nfs client utils are installed
apt: apt:
...@@ -101,6 +100,13 @@ ...@@ -101,6 +100,13 @@
- nfs-client - nfs-client
- sysctl - sysctl
- name: enable rpc-svcgssd iff we use kerberized NFS
systemd:
name: rpc-svcgssd.service
masked: "{{ not nfs_enable_gss }}"
tags:
- nfs-client
- name: ensure nfs-common is enabled - name: ensure nfs-common is enabled
service: service:
name: nfs-client.target name: nfs-client.target
...@@ -206,5 +212,3 @@ ...@@ -206,5 +212,3 @@
tags: tags:
- nfs-client - nfs-client
- umask - umask
- meta: flush_handlers
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