Git Product home page Git Product logo

ansible-python3-role's People

Contributors

mdklatt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ansible-python3-role's Issues

Fix deprecation warnings

As of ansible 2.8:

[DEPRECATION WARNING]: Invoking "yum" only once while using a loop via 
squash_actions is deprecated. Instead of using a loop to supply multiple items 
and specifying `name: "{{ item }}"`, please use `name: ['python36u', 
'python36u-devel', 'python36u-pip']` and remove the loop. This feature will be 
removed in version 2.11. Deprecation warnings can be disabled by setting 
deprecation_warnings=False in ansible.cfg.

Always installs as root and in root directory

Default installs to root user and I tried with become_user & sudo then it installs to root user :(
I am using Vagarnt CentOS7

My Playbook
gather_facts: yes
become_user: vagrant
remote_user: vagrant
become: true
become_method: sudo

vars_files:
- vars/main.yml

roles:
- mdklatt.python3

My Vars
python3_pyenv: "3.5.6"
python3_command: python3.5
python3_bashrc: "/home/vagrant/.bash_profile"
python3_local: "/home/vagrant/.local/bin"

Enable Galaxy notifications for Travis CI

The Galaxy webhook needs to be uncommented in .travis.yml to trigger automatic imports of new releases.

# TODO
#notifications:
#  webhooks: https://galaxy.ansible.com/api/v1/notifications/

Role fails with existing pyenv installation

The pyenv installer now fails if it detects an existing installation, which causes the role to fail:

TASK [python3 : run pyenv installer] *******************************************
task path: python3-role/tasks/pyenv.yml:12
fatal: [centos]: FAILED! => {"changed": true, "cmd": ["bash", "pyenv-installer"], "delta": "0:00:00.006871", "end": "2019-02-23 21:57:48.493896", "msg": "non-zero return code", "rc": 1, "start": "2019-02-23 21:57:48.487025", "stderr": "\nWARNING: Can not proceed with installation. Kindly remove '.pyenv' from /home/vagrant first.", "stderr_lines": ["", "WARNING: Can not proceed with installation. Kindly remove '.pyenv' from /home/vagrant first."], "stdout": "", "stdout_lines": []}

Permission denied during cleanup

RUNNING HANDLER [mdklatt.tmpdir : tmpdir remove] ******************************* fatal: [electrumx.multicoin.co]: FAILED! => {"changed": false, "msg": "rmtree failed: [Errno 13] Permission denied: '/tmp/ansible.nslmf_jp'"}

IUS python36u packages are deprecated

It looks like CentOS has finally added Python 3.6 to @base, and the IUS python36u* packages now point to the new base packages. Update the role to point directly to the @base packages.

This is not a breaking change for this role, but there are surprises for downstream packages that require the old IUS packages. For example, installing uwsgi-plugin-python36u fails because it cannot find python36u, which is now just python3@base (FYI, uwsgi-plugin-python36@epel can be used as a replacement).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.