--- - name: Include Linux tasks include_tasks: linux.yml when: ansible_facts['system'].lower() == "linux" - name: Include OpenBSD Tasks include_tasks: openbsd.yml when: ansible_facts['system'].lower() == "openbsd"