--- - name: Install stow when: inventory_hostname in groups['localhost'] ansible.builtin.package: name: stow state: present