I have a python virtualenv running on a remote server. I am trying to update the bashrc of the remote server with the following info using Ansible.
export WORKON_HOME=~/TestEnvs
source /usr/local/bin/virtualenvwrapper.sh
workon my_virtual_env
Is there any way to accomplish this using Ansible?