LAB20: Troubleshooting Event-Driven Ansible in Ansible Automation Platform
Welcome to the Troubleshooting Event-Driven Ansible in Ansible Automation Platform lab. In this session, we will work with AAP 2.5, GitLab, and Zabbix Server.
Labs 1 through 5 contain issues that need to be identified and resolved. Zabbix will monitor node1
, and we will simulate an alert by stopping Apache. This alert will be sent to Event-Driven Ansible(Automation Decisions), which will use Ansible to resolve the detected issues. Several configuration changes will be required in the environment to achieve this.
Lab Access
The terminal window on your right is already logged into the bastion node as the lab-user
, if it is not please click "Terminals" in the top left of the left-side screen and two terminals will appear. You will need to do a carriage return to get paste to work.
Lab Access Details
-
If you are not already logged in to the bastion when you open the termails. Please log into them:
ssh someone@example.com
Bastion password devops
Ansible Automation Platform Web Console:
-
Username:
admin
-
Password:
R3dh4t1!
To avoid being logged out, we recommed editing Settings → Platform gateway → Edit platform gateway settings and changing the Session cookie age to 7200. You will need to relog to implement the change. |
Access Zabbix running on server:
-
Username:
Admin
-
Password:
zabbix
The Zabbix server is currently running on HTTP and not HTTPS. If your browser automatically switches the URL to HTTPS, you may need to manually change it back to HTTP to access the server. |
Access other instances from Bastion
-
Log in to the Ansible Automation Platform Controller from bastion:
[lab-user@bastion ~]$ ssh controller
-
Log in to the additional node from bastion:
[lab-user@bastion ~]$ ssh node1
-
Log in to the additional server from bastion:
[lab-user@bastion ~]$ ssh server
Documentation:
If you need the documentation link:
Solution:
A step-by-step guided solution is provided at the end of each lab section. Before proceeding, take a moment to attempt the challenge on your own. The true value of this activity lies in your effort to troubleshoot independently. Once you have made an attempt, you can refer to the guided solutions to verify your approach or explore an alternate solution.