Enhance the conditional check to include main.yml if it is not from 'role/vars/' Fixes: #29135 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>