Ansible executes in 'batch mode' aka non-interactive, bash normally does not execute .bashrc in this case (it can be setup to do so, but most distros default to not do so)
-- ---------- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7dONepNHQ-pe5uk7CR7bNirH-X9t0ARYnM7v8J8U-O2jg%40mail.gmail.com.