On Fri, Jan 08, 2021 at 03:17:39PM +0100, Ulrich-Lorenz Schlüter via FreeIPA-users wrote: > > > On 1/8/21 3:02 PM, Dominik Vogt via FreeIPA-users wrote: > > > > > > > > - name: ... > > > > shell: ipa config-mod --ipaselinuxusermaporder="..." > > > > > > > > However, that doesn't work (using either the "root" or ipa "admin" > > > > accounts) because the Kerberos ticket granting ticket is missing. > > > > Hard coding user and password in a plain script or on the command > > > > line is bad. I've really no idea how to solve this. > - name: Get kerberos ticket > shell: echo {{ ipaadmin_password }} | /usr/bin/kinit admin > > Put the password in ansible vault.
Wouldn't that shell command including the decrypted password be stored in plain text on the file system? Ciao Dominik ^_^ ^_^ -- Dominik Vogt _______________________________________________ FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org