Hi all
I have the following playbook
!
Hi all
I have the following playbook
!
Hi,
I believe you should use import_playbook to add a playbook in another playbook. See here.
Hello,
I test it but still the same issue, maybe is the wrong way, the idea is if the value es greater then run the other playbook.
thanks.
I understand the problem now. You are trying to include a playbook under the tasks level which is not allowed. A file with only tasks are allowed to be included under tasks. See here.
Also, conditionally adding playbooks is a feature request as per this from what I can find.
Maybe you can restructure 2.yml a bit. Check here for reference.
Hello,
Thanks for your help I will check the reference. but the strange thing is I did playbooks the same way for and I only have with this .