Hi team,

I have something like this in my tasks file.

- name: run post sync files
  include: "{{inventory_dir}}/../tasks/post-sync-files.yml"
  when: POST_SYNC_FILE == 'yes'

Even the value of POST_SYNC_FILE is 'no' it still include the yml file and 
run . Inside the yml file there are bunch of tasks whihc also use when as 
well but not using the above variables.

Not sure what is wrong with this?

Thanks

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/286f7586-6430-4842-afe4-58838251da17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to