Commit 1e6be847 authored by Lars Beckers's avatar Lars Beckers

nfs-server: fix deployment for non-krb servers

parent cb93e8e5
Pipeline #1509 passed with stage
in 1 minute and 3 seconds
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
tags: tags:
- nfs-server - nfs-server
- service-principal - service-principal
when: nfs_krb is defined when: nfs_krb|default(False)
- name: check that we have a valid service principal - name: check that we have a valid service principal
shell: | shell: |
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
tags: tags:
- nfs-server - nfs-server
- service-principal - service-principal
when: nfs_krb is defined when: nfs_krb|default(False)
- block: - block:
- name: create service principal - name: create service principal
...@@ -157,6 +157,6 @@ ...@@ -157,6 +157,6 @@
tags: tags:
- nfs-server - nfs-server
- service-principal - service-principal
when: principal.rc == 1 and nfs_krb is defined when: nfs_krb|default(False) and principal.rc == 1
- meta: flush_handlers - meta: flush_handlers
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) # /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 }}) {{ export.src }} {{ export.dest }}({{ export.options }})
{% endfor -%} {% endfor %}
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