- name: Informationen sammeln ansible.builtin.debug: var: ansible_facts - name: leeres File anlegen file: path: /home/pi/testwhen state: touch when: (ansible_facts['hostname'] == 'brandine' or ansible_facts['hostname'] == 'kirk')