File tree 3 files changed +16
-0
lines changed
3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,10 @@ When set the given version of Ansible will be installed on the controlhost.
163
163
164
164
Controls if pip will be executed using the --upgrade option.
165
165
166
+ controlhost_packages_pip_enabled: true
167
+
168
+ Enables / disables pip package installation.
169
+
166
170
controlhost_packages_pip:
167
171
- name: markupsafe
168
172
- name: jmespath
@@ -184,6 +188,10 @@ Pip packages to install.
184
188
185
189
Format for a pip package entry.
186
190
191
+ controlhost_packages_os_enabled: true
192
+
193
+ Enables / disables os package installation.
194
+
187
195
## Dependencies
188
196
189
197
This role depends on the following roles:
Original file line number Diff line number Diff line change @@ -85,6 +85,9 @@ controlhost_maven_repositories:
85
85
# Controls if pip will be executed using the --upgrade option
86
86
controlhost_packages_pip_upgrade : true
87
87
88
+ # enables / disables pip package installation
89
+ controlhost_packages_pip_enabled : true
90
+
88
91
# Pip packages to install
89
92
controlhost_packages_pip :
90
93
- name : markupsafe
@@ -104,3 +107,6 @@ controlhost_packages_pip:
104
107
# pip package definition
105
108
# - name: [PIP_PACKAGE_NAME]
106
109
# version: [PIP_PACKAGE_VERSION] # optional
110
+
111
+ # enables / disables os package installation
112
+ controlhost_packages_os_enabled : true
Original file line number Diff line number Diff line change 6
6
tags :
7
7
- os-packages
8
8
- packages
9
+ when : controlhost_packages_os_enabled
9
10
10
11
- name : Install pip packages
11
12
include_tasks : packages/pip.yml
12
13
tags :
13
14
- pip-packages
14
15
- packages
16
+ when : controlhost_packages_pip_enabled
15
17
16
18
- name : Setup ansible
17
19
include_tasks : ansible/setup.yml
You can’t perform that action at this time.
0 commit comments