title: How to Install python3.4.3 with Ansible
body: <p>I want to install python3.x by use pyenv with ansible.</p>
  
  <pre><code>- name: install pyenv
    git: &gt;
      repo=https://github.com/pyenv/pyenv.git
      dest=/home/www/.pyenv
      accept_hostkey=yes
      become: yes
      become_user: www
  
  - name: enable pyenv
    shell: |
      echo 'export PYENV_ROOT="/home/www/.pyenv"' &gt;&gt; /home/www/.bashrc
      echo 'export PATH="$PYENV_ROOT/bin:$PATH"' &gt;&gt; /home/www/.bashrc
      echo 'eval "$(pyenv init -)"' &gt;&gt; /home/www/.bashrc
  - name: install python
    shell: pyenv install 3.4.3
  </code></pre>
  
  <p>How to install python3.x with ansible?</p>