Ansible Variable Lab & Excercise – Part 2

  1. Assigment 1 – Create a playbook and setup a webserver(httpd) and use httpd as a variable decalared in role var file

  2. Assigment 2 – Create a playbook and setup a webserver(httpd) and use httpd as a variable decalared using prompt

  3. Assigment 3 – Create a playbook and setup a webserver(httpd) and find a list of .txt file in some directory and output using register variables

  4. Assigment 4 – Create a playbook and setup a webserver(httpd), copy a index.html and interpolate variables in template file decalared in playbook.