smehan / ansible-role-compile-python3 Goto Github PK
View Code? Open in Web Editor NEWAnsible role that complies and installs a python3 from source.
Home Page: https://galaxy.ansible.com/smehan/compile-python3/
Ansible role that complies and installs a python3 from source.
Home Page: https://galaxy.ansible.com/smehan/compile-python3/
fatal: [mydomain.com]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: 'ansible_os_family' is undefined
The error appears to be in '/home/username/.ansible/roles/smehan.compile-python3/tasks/main.yml': line 4, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Include OS-specific variables.
^ here
The following snippet causes the issue on Ubuntu 16.04LTS:
1 ---
2 # tasks file for smehan.python3_compiled
3
4 - name: Include OS-specific variables.
5 include_vars: "{{ ansible_os_family }}.yml"
I can see a flag compiled_python_with_pip
in defaults/main.yml to be true by default but I don't see that flag being used anywhere in the rest of the code to toggle the installation of pip.
I believe that pip is not being installed irrespective of the flag. File vars/Debian.yml which sets the configure flag compiled_configure_flags
doesn't use --with-ensurepip=install
flag.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.