ansible-training-test/playbooks/tasks/switch_user.yml

4 lines
81 B
YAML
Raw Normal View History

2018-07-27 10:01:50 +02:00
- name: switch to ansible_user
become_user: "{{ansible_user}}"
shell: whoami