Question 11

Use a dynamic inventory to execute a playbook on a subset of hosts.

Question 12

Create a playbook to run only tasks tagged as install.

Question 13

Write a playbook to execute tasks on a host only if the variable http_port is defined.

Question 14

Set up a directory for multiple host variable files for all managed hosts.

Question 15

Set up an inventory where web1 and web2 belong to staging, while web3 belongs to production. Assign http_port as 8080 for staging.