Hands-on task
Ansible: create users with a loop
Write a playbook /root/users.yml (target localhost, local connection) that uses a loop to create three users: alice, bob, carol. Run it. The playbook must create the users on a machine where they don't exist yet, and a second run must change nothing.
- ansible
- user module
- loop
- ansible-playbook
- jinja2