ndench.python
Ansible ndench.python role
ndench.pythonis an Ansible role which:
- installs DeadSnakes PPA
- installs specified version of python
Installation
Using ansible-galaxy:
$ ansible-galaxy install ndench.python
Using requirements.yml:
- src: ndench.python
Using git:
$ git clone https://github.com/ndench/ansible-role-python.git ndench.python
Dependencies
- Ansible >= 2.4
Variables
Here is a list of all the default variables for this role, which are also available in defaults/main.yml.
---
python_version: 3.7
Usage
This is an example playbook:
---
- hosts: all
roles:
- ndench.python
Testing
$ git clone https://github.com/ndench/ansible-role-python.git
$ cd ansible-role-python
$ make test
Contributing
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Note: To update the README.md file please install and run ansible-role:
$ gem install ansible-role
$ ansible-role docgen
License
Copyright (c) under the MIT license.
Install
ansible-galaxy install ndench.pythonLicense
mit
Downloads
70
Owner
