Skip to content
Snippets Groups Projects
Commit d965b07c authored by Lars Beckers's avatar Lars Beckers
Browse files

nfs-server: update shell module usage

parent b3646f61
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,11 @@ ...@@ -78,7 +78,11 @@
when: nfs_krb is defined when: nfs_krb is defined
- name: check that we have a valid service principal - name: check that we have a valid service principal
shell: klist -k /etc/krb5.keytab | grep "nfs/{{ ansible_fqdn }}" shell: |
set -o pipefail
klist -k /etc/krb5.keytab | grep "nfs/{{ ansible_fqdn }}"
args:
executable: /bin/bash
register: principal register: principal
failed_when: false failed_when: false
tags: tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment