ansible-galaxy-pyenv icon indicating copy to clipboard operation
ansible-galaxy-pyenv copied to clipboard

pyenv_global seems to have no effect

Open ghost opened this issue 6 years ago • 1 comments

Hello,

I may be missing something, but pyenv_global seems to have no effect for me when deploying to a Ubuntu Xenial machine.

Relevant playbook snippet:

  roles:
    - role: avanov.pyenv
      pyenv_owner: "{{ ubuntu_common_deploy_user_name }}"
      pyenv_path: "/home/{{ ubuntu_common_deploy_user_name }}/pyenv"
      pyenv_global: "3.7.2"
      pyenv_python_versions:
        - "3.7.2"

When I log in and run pyenv versions, this is the output:

[email protected]:~$ pyenv versions
* system (set by /home/deploy/pyenv/version)
  3.7.2

ghost avatar Feb 27 '19 18:02 ghost

Everytime I run it I get changed state. I am using Ubuntu groovy.

staticdev avatar Jan 10 '21 14:01 staticdev