You need to rotate TLS certificates on 200 hosts without downtime.
IntermediateScenarioAWX, Cloud and Large-Scale Operations
Answer
Situation read → Rolling cert update.
What I'd do → Distribute with copy (vaulted or fetched from a secret store), validate, reload service (not restart), serial: 10%, and verify with openssl s_client or uri.
- ansible.builtin.copy:
src: "{{ cert_src }}"
dest: /etc/ssl/app.pem
mode: "0640"
notify: Reload nginx
Why → Reload swaps certs without dropping connections.
Interview tip → Better: automate renewal (ACME) and let Ansible only distribute.
More on AWX, Cloud and Large-Scale Operations
Your company wants a self-service UI for running playbooks with RBAC. What do you propose?BeginnerHow do you run AWX on Kubernetes?BeginnerA job template should prompt for the target limit and a version, with validation.IntermediateYou need provisioning followed by configuration followed by an approval and then deploy.IntermediateA dynamic inventory source in AWX syncs slowly and stale hosts remain.IntermediateYou manage 5,000 servers and a single job takes hours.Advanced