Start your streak

Daily Challenge

One question, same for everyone today. Answer to keep your streak alive.

[Ansible] How do you run a playbook against hosts with different OSes (e.g., Ubuntu/CentOS) using correct package managers?

1
Assume all are Ubuntu
2
Write separate playbooks
3
Use ansible_os_family fact + conditional tasks
4
Use raw module

    Welcome to OpsQuiz!

    Real scenario-based DevOps questions, hands-on practice, and clear explanations for every answer.