--- - name: Configure CachyOS workstation hosts: localhost connection: local become: yes tasks: - name: Verify operating system ansible.builtin.assert: that: - ansible_facts['distribution'] == "Archlinux" fail_msg: "This playbook is intended for CachyOS only." success_msg: "CachyOS detected successfully."