How to Secure Ansible Playbooks with Ansible Become
https://adamtheautomator.com/ansible-become09.02.2022 · --- - name: Ansible become Playbook demo # Defining the host server based on your inventory file # where Ansible Playbook will be executed. # ip-10-111-11-150 (ubuntu1) | ip-10-111-11-151 (ubuntu2) hosts: ip-10-111-11-149 # ubuntu tasks: # Task to Check the Sudoers file if Admins can perform all operations - name: Validate the sudoers file before saving # Executing …