Ansible Conditional Playbook to install Apache2 In this post we will be seeing how to use "when" conditional operator to install Apache2 on Debian and RedHat family.