Ravindra BagaleCourses & study guides

Chapter 11: Ansible Introduction

11.10 Troubleshooting table

Symptom Likely cause What to try
UNREACHABLE SSH/user/SG/key Manual ssh; fix inventory
module yum not found / wrong pkg module Wrong OS family module Use apt or dnf as appropriate
Permission denied Missing become become: true + sudo rights
Changed every run Task using non-idempotent shell Switch to file/package modules
Curl fails after green playbook SG / wrong counter / Nginx not listening ss/curl on host; AWS SG refresh