Ansible tasks normally do NOT share the same session, so setting umask for the session in one task will not affect subsequent tasks, you need to modify umask in a persistent manner for all tasks to be affected, Normally you can affect the environment in a consistent way across tasks by using the `enviornment` keyword at play/block/role/task levels, sadly umask is not configurable way.
-- ---------- Brian Coca -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7fk7Eh40xjAdpR90fFid%2BhgvmA7j9Jgei-uCrqUN-JS1A%40mail.gmail.com.
