Ansible: Inventory, Ad-hoc & Playbook
Your team is moving server setup from manual steps to Ansible. Start with the local machine.
Tasks
- Create /home/student/inventory.ini with a [web] group containing localhost ansibleconnection=local.
- Ping the web group with an ad-hoc command.
- Write site.yml that creates /tmp/webasha-ansible.txt containing managed by ansible, then run it.