Is there any way we can run multiple roles with a particular sudo user using Ansible. If yes how can i do it .
ansible 2.7.5
Is there any way we can run multiple roles with a particular sudo user using Ansible. If yes how can i do it .
ansible 2.7.5
An option would be to use a playbook. For example:
- hosts: webservers
remote_user: particular_sudo_user
become: yes
become_method: sudo
roles:
- role01
- role02