RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Only in a task
- name: Run script as foo user command: bash.sh become: true become_user: foo
Run all role tasks as root
- hosts: all become: true - name: Start apache service: apache2 state: started
Run a role as root
- hosts: all roles: - { role: myrole, become: yes } - myrole2
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website