and what I want is just run it locally. My plan is that I run this playbook from another playbook or in other words another playbook is referencing to this playbook and that works, but if I want to run this particular playbook locally - it fails and reason behind is I think so called play definitions. So I was wondering is there any way to run this locally ? By saying locally I mean ansible-playbook playbook.yml
and what I want is just run it locally. My plan is that I run this playbook
from another playbook or in other words another playbook is referencing to
this playbook and that works, but if I want to run this particular playbook
locally - it fails and reason behind is I think so called play definitions.
So I was wondering is there any way to run this locally ? By saying locally
I mean ansible-playbook playbook.yml
- hosts: localhost in a playbook will run the playbook on localhost.