This project demonstrates how to use Ansible to collect system facts from a remote server and generate a dynamic HTML page using a Jinja2 template. The page is deployed to a web server for easy access.
system-info-project/
├── inventory.ini
├── playbook.yml
└── templates/
└── system_info.j2mkdir -p ~/workspace/system-info-project
cd ~/workspace/system-info-projectvi inventory.ini[server]
server1 ansible_host=server1 ansible_user=server1_admin ansible_ssh_pass=s_