You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installs tools commonly used by Python developers, including multiple
5
+
versions of the Python interpreter, PyPy, pip, virtualenv,
6
+
virtualenvwrapper, tox, and wheel.
5
7
6
8
Requirements
7
9
------------
8
10
9
-
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
11
+
None
10
12
11
13
Role Variables
12
14
--------------
13
15
14
-
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
16
+
* python_dev_versions
17
+
18
+
The versions of python to install, as a list of dictionaries
19
+
containing one key "version" and the version number as a
20
+
string. Defaults to: [{version: "2.6"}, {version: "3.3"}, {version:
21
+
"3.4"}, {version: "2.7"}]
22
+
23
+
The last version included will be used as the default version for
24
+
pip. To use pip with the other versions, add the version number to
25
+
the command name (for example, "pip3.3 install mypackage").
15
26
16
27
Dependencies
17
28
------------
18
29
19
-
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
30
+
None
20
31
21
32
Example Playbook
22
33
----------------
@@ -25,7 +36,10 @@ Including an example of how to use your role (for instance, with variables passe
25
36
26
37
- hosts: servers
27
38
roles:
28
-
- { role: username.rolename, x: 42 }
39
+
- role: username.python-dev
40
+
python-versions:
41
+
- version: 3.3
42
+
- version: 3.4
29
43
30
44
License
31
45
-------
@@ -35,4 +49,4 @@ BSD
35
49
Author Information
36
50
------------------
37
51
38
-
An optional section for the role authors to include contact information, or a website (HTML is not allowed).
0 commit comments