User Tools

Site Tools


docs:tips_n_tricks:ansible.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
docs:tips_n_tricks:ansible.html [07.01.2023 12:34 CET] peterdocs:tips_n_tricks:ansible.html [07.01.2023 12:35 CET] (current) – [User 'delegate_to' with a different remote user] peter
Line 8: Line 8:
   * https://github.com/ansible/ansible/issues/27078   * https://github.com/ansible/ansible/issues/27078
 ===== User 'delegate_to' with a different remote user ===== ===== User 'delegate_to' with a different remote user =====
-Although ''remote_user'' ought to work with ''delegate_to''((cf.\\ [[https://github.com/ansible/ansible/issues/13323|Github closed issue - delegate_to with remote_user on ansible 2.0 #13323]],\\ [[https://www.reddit.com/r/ansible/comments/poczx3/delegate_to_and_another_user/|Reddit - Delegate_to and another user]],\\ [[https://groups.google.com/g/ansible-project/c/-gr3k70JNlw|google.groups - Indicating username with delegate_to]] )) it doen't when I tried.+Although ''remote_user'' ought to work by task with ''delegate_to''((cf.\\ [[https://github.com/ansible/ansible/issues/13323|Github closed issue - delegate_to with remote_user on ansible 2.0 #13323]],\\ [[https://www.reddit.com/r/ansible/comments/poczx3/delegate_to_and_another_user/|Reddit - Delegate_to and another user]],\\ [[https://groups.google.com/g/ansible-project/c/-gr3k70JNlw|google.groups - Indicating username with delegate_to]] )) it doen't when I tried.
 Following approaches in the task specification did the trick: Following approaches in the task specification did the trick:
 ==== Using 'become' ==== ==== Using 'become' ====
docs/tips_n_tricks/ansible.html.1673091274.txt.gz · Last modified: 07.01.2023 12:34 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki