Within the static-assignments folder, create a new assignment for uat-webservers uat-webservers.yml. This is where you will reference the role.
- hosts: uat-webservers
Remember that the entry point to our ansible configuration is the site.yml file. Therefore, you need to refer your uat-webservers.yml role inside site.yml.
So, we should have this in site.yml
To Access Our Live session
Sign Up for Free
Chat With Support
You have 0 mentoring session left
Check Our Blog For Solutions
Ask Peers For Help On Our Channel
Buy More Sessions
You need to upgrade your plan to gain access