Hi guys, I need to run my roles as different user. However, the users don't have login permissions. I need to su after logon with the user that executes the ansible playbook.
I've already stored the different user ids and passwords in a vault. But I don't know where to point to the password. - hosts: abc1 su: yes su_user: "{{ sysabc1 }}" ??? su_password: "{{ sysabc1_pwd }}" tasks: - shell: whoami Thanks, Jan -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f8fbe549-98eb-4671-a07b-cf8b3300d8b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.