Tag: IaC
Passwordless Sudo with Ansible
Sudo without password, automatically. Short example role for ansible.
The role
- creates a new user in "sudoless" group
- adds a sudoers.d/ NOPASSWD rule for the group
Hello Ansible
Write infrastructure-as-code, control multiple machines easily.
In this Ansible tutorial, we create a single file in /tmp/.