|
3 | 3 | - name: Install dependencies |
4 | 4 | ansible.builtin.import_tasks: deps.yml |
5 | 5 |
|
6 | | -- name: Install Python 2.4 |
7 | | - ansible.builtin.import_tasks: python24.yml |
| 6 | +- name: Install Python 2.x |
| 7 | + ansible.builtin.import_tasks: python2x.yml |
8 | 8 |
|
9 | | -- name: Install Python 2.6 |
10 | | - ansible.builtin.import_tasks: python26.yml |
| 9 | +- name: Install Python 3.x |
| 10 | + ansible.builtin.import_tasks: python3x.yml |
11 | 11 |
|
12 | | -- name: Install Python 2.7 |
13 | | - ansible.builtin.include_tasks: |
14 | | - file: python_generic.yml |
15 | | - vars: |
16 | | - py_data: "{{ py27 }}" |
17 | | - when: python_27 |
18 | | - |
19 | | -- name: Install Python 3.1 |
20 | | - ansible.builtin.include_tasks: |
21 | | - file: python_generic.yml |
22 | | - vars: |
23 | | - py_data: "{{ py31 }}" |
24 | | - when: python_31 |
25 | | - |
26 | | -- name: Install Python 3.2 |
27 | | - ansible.builtin.include_tasks: |
28 | | - file: python_generic.yml |
29 | | - vars: |
30 | | - py_data: "{{ py32 }}" |
31 | | - when: python_32 |
32 | | - |
33 | | -- name: Install Python 3.3 |
34 | | - ansible.builtin.include_tasks: |
35 | | - file: python_generic.yml |
36 | | - vars: |
37 | | - py_data: "{{ py33 }}" |
38 | | - when: python_33 |
39 | | - |
40 | | -- name: Install Python 3.4 |
41 | | - ansible.builtin.include_tasks: |
42 | | - file: python_generic.yml |
43 | | - vars: |
44 | | - py_data: "{{ py34 }}" |
45 | | - when: python_34 |
46 | | - |
47 | | -- name: Install Python 3.5 |
48 | | - ansible.builtin.include_tasks: |
49 | | - file: python_generic.yml |
50 | | - vars: |
51 | | - py_data: "{{ py35 }}" |
52 | | - when: python_35 |
53 | | - |
54 | | -- name: Install Python 3.6 |
55 | | - ansible.builtin.include_tasks: |
56 | | - file: python_generic.yml |
57 | | - vars: |
58 | | - py_data: "{{ py36 }}" |
59 | | - when: python_36 |
60 | | - |
61 | | -- name: Install Python 3.7 |
62 | | - ansible.builtin.include_tasks: |
63 | | - file: python_generic.yml |
64 | | - vars: |
65 | | - py_data: "{{ py37 }}" |
66 | | - when: python_37 |
67 | | - |
68 | | -- name: Install Python 3.8 |
69 | | - ansible.builtin.include_tasks: |
70 | | - file: python_generic.yml |
71 | | - vars: |
72 | | - py_data: "{{ py38 }}" |
73 | | - when: python_38 |
74 | | - |
75 | | -- name: Install Python 3.9 |
76 | | - ansible.builtin.include_tasks: |
77 | | - file: python_generic.yml |
78 | | - vars: |
79 | | - py_data: "{{ py39 }}" |
80 | | - when: python_39 |
81 | | - |
82 | | -- name: Install Python 3.10 |
83 | | - ansible.builtin.include_tasks: |
84 | | - file: python_generic.yml |
85 | | - vars: |
86 | | - py_data: "{{ py310 }}" |
87 | | - when: python_310 |
88 | | - |
89 | | -- name: Install Python 3.11 |
90 | | - ansible.builtin.include_tasks: |
91 | | - file: python_generic.yml |
92 | | - vars: |
93 | | - py_data: "{{ py311 }}" |
94 | | - when: python_311 |
95 | | - |
96 | | -- name: Install Python 3.12 |
97 | | - ansible.builtin.include_tasks: |
98 | | - file: python_generic.yml |
99 | | - vars: |
100 | | - py_data: py312 |
101 | | - when: python_312 |
102 | | - |
103 | | -- name: Install Python 3.13 |
104 | | - ansible.builtin.include_tasks: |
105 | | - file: python_generic.yml |
106 | | - vars: |
107 | | - py_data: py313 |
108 | | - when: python_313 |
109 | | - |
110 | | -- name: Install Virtualenv for Python 2.4 |
111 | | - ansible.builtin.include_tasks: |
112 | | - file: venv.yml |
113 | | - vars: |
114 | | - py_data: py24 |
115 | | - venv_data: venv24 |
116 | | - when: python_24 |
117 | | - |
118 | | -- name: Install Virtualenv for Python 2.6 |
119 | | - ansible.builtin.include_tasks: |
120 | | - file: venv.yml |
121 | | - vars: |
122 | | - py_data: py26 |
123 | | - venv_data: venv26 |
124 | | - when: python_26 |
125 | | - |
126 | | -- name: Install Virtualenv for Python 2.7 |
127 | | - ansible.builtin.include_tasks: |
128 | | - file: venv.yml |
129 | | - vars: |
130 | | - py_data: py27 |
131 | | - venv_data: venv27 |
132 | | - when: python_27 |
| 12 | +- name: Install virtualenvs |
| 13 | + ansible.builtin.import_tasks: venvs.yml |
133 | 14 |
|
134 | 15 | - name: Miscellaneous |
135 | 16 | ansible.builtin.import_tasks: misc.yml |
0 commit comments