Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
infra
ansible-shared
samba
Commits
1e6be847
Commit
1e6be847
authored
Oct 26, 2019
by
Lars Beckers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfs-server: fix deployment for non-krb servers
parent
cb93e8e5
Pipeline
#1509
passed with stage
in 1 minute and 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
nfs-server/tasks/main.yml
nfs-server/tasks/main.yml
+3
-3
nfs-server/templates/exports.j2
nfs-server/templates/exports.j2
+2
-4
No files found.
nfs-server/tasks/main.yml
View file @
1e6be847
...
...
@@ -75,7 +75,7 @@
tags
:
-
nfs-server
-
service-principal
when
:
nfs_krb
is defined
when
:
nfs_krb
|default(False)
-
name
:
check that we have a valid service principal
shell
:
|
...
...
@@ -88,7 +88,7 @@
tags
:
-
nfs-server
-
service-principal
when
:
nfs_krb
is defined
when
:
nfs_krb
|default(False)
-
block
:
-
name
:
create service principal
...
...
@@ -157,6 +157,6 @@
tags
:
-
nfs-server
-
service-principal
when
:
principal.rc == 1 and nfs_krb is defined
when
:
nfs_krb|default(False) and principal.rc ==
1
-
meta
:
flush_handlers
nfs-server/templates/exports.j2
View file @
1e6be847
...
...
@@ -9,8 +9,6 @@
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
#
{%
-
for export in nfs_exports %}
{% for export in nfs_exports %}
{{ export.src }} {{ export.dest }}({{ export.options }})
{% endfor -%}
{% endfor %}
Write
Preview
Markdown
is supported
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