Hi,
I want to use include in a way that every host get’s different playbook.
This is important for me as I have some tasks that are specific to each host.
I can create a custom role where I keep all “semi-manual” and use once stuff related to all hosts in somthing like host_a.yml host_b.yml host_c.yml and than in main playbook I can call include host_{{ inventory_hostname }}.yml
This way all my semi-manual and host specific things are also part of my whole setup.
I am not sure if this is possible right now or not but from looking at https://github.com/ansible/ansible/issues/5424 I think it’s not possible.
I can do include_vars this way but not simple include.
Can someone suggest better alternative if this is not possible?
Regards
Pujan