ansible-labs/060.Facts/060.Facts.md

12 lines
432 B
Markdown

# 6 - Facts
This exercise makes you use facts to adapt content
## Playbook modification
Improve the playbook you created in the previous step to use the FQDN (*Fully Qualified Domain Name*) gathered as a fact instead of the inventory hostname.
## Validation
Run the playbook and then try to connect to each host to validate you see the customized banner on ssh connection.
There is a working playbook in `solution/solution.yml`