keytab: More lint fixes
This commit is contained in:
parent
62a11f571a
commit
8361eb4b11
1 changed files with 3 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
argv:
|
||||
- base64
|
||||
- "/tmp/{{ inventory_hostname }}.kt"
|
||||
register: keytab_data
|
||||
register: keytab_data
|
||||
delegate_to: ldap01.home.foo.sh
|
||||
when: not keytab_status.stat.exists
|
||||
|
||||
|
@ -37,8 +37,9 @@
|
|||
|
||||
- name: Deploy keytab file
|
||||
ansible.builtin.shell: >-
|
||||
set -o pipefail &&
|
||||
umask 077 &&
|
||||
echo '{{ keytab_data.stdout }}' | base64 -d > {{ keytab }}
|
||||
echo '{{ keytab_data.stdout }}' | base64 -d > "{{ keytab }}"
|
||||
when: not keytab_status.stat.exists
|
||||
|
||||
- name: Check keytab permissions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue