Invisible Ansible Collection

The part you show that is the playbook is not a valid playbook. That is a list of tasks like what is found in a role. Have a read of these docs. You’ll need to start your playbook off with some kind of hosts targeting pattern (hosts: all) and a tasks key. The bits you already have follow the tasks key.

1 Like