Commit d965b07c authored by Lars Beckers's avatar Lars Beckers
Browse files

nfs-server: update shell module usage

parent b3646f61
......@@ -78,7 +78,11 @@
when: nfs_krb is defined
- 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 }}"
executable: /bin/bash
register: principal
failed_when: false
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