feat ✨: Added optional command to show cached Kerberos ticket
Updated verify.yml to include an optional command to display the cached Kerberos ticket, utilizing the 'klist' command and registering its output. This change enhances the flexibility of the verification process.
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
ansible.builtin.debug:
|
||||
msg: "Kerberos kinit verification successful. Output: {{ kinit_check.stdout }}"
|
||||
|
||||
- name: Optional: Show the cached Kerberos ticket
|
||||
- name: Optional - Show the cached Kerberos ticket
|
||||
ansible.builtin.command: klist
|
||||
register: klist_output
|
||||
changed_when: false
|
||||
|
||||
Reference in New Issue
Block a user