You have
- tasks:
where you should have
tasks:
with no leading dash. That dash effectively starts a second play within
the playbook, a play for which you have not specified "hosts:".
On 11/11/22 7:35 AM, Oneday “onedayapps” App wrote:
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/9cf29a7d-aa41-b6f6-6a25-adf820a5e8a0%40gmail.com.