Ansible: source profile.d in ansible.config
<p>I'm installing ruby from source and using template to export path. My code looks like this:</p>

<pre><code>- name: clone rbenv
  git: repo=git://github.com/sstephenson/rbenv.git dest=/usr/local/rbenv
  become: yes

- template: src=templates/rbenv.sh.j2 dest=/etc/profile.d/rbenv.sh
  become: true

- name: clone ruby-build repo
  git: repo=git://github.com/sstephenson/ruby-build.git dest=~/ruby-build

- name: Install ruby-build
  shell: ./ruby-build/install.sh
  become: yes

- name: install jruby
  shell: . /etc/profile.d/rbenv.sh &amp;&amp; rbenv install jruby-9.0.5.0
  become: yes
</code></pre>

<p>I want to use command "rbenv",
this works but in this way I have to source profile with every command.
Is there any way to source profile once in ansible.config file or something else and use it in the whole project without sourcing profile again.</p>