File tree Expand file tree Collapse file tree 4 files changed +8
-9
lines changed
Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 44# pip install -r requirements.txt
55#
66netaddr
7- lxml # for community.general .maven_artifact
7+ lxml # for middleware_automation.common .maven_artifact
Original file line number Diff line number Diff line change 11---
22collections :
33 - name : middleware_automation.common
4+ version : " >=1.2.1"
45 - name : ansible.posix
5- - name : community.general # for `maven_artifact`
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ The roles depends on:
2121
2222* [ middleware_automation.common] ( https://github.com/ansible-middleware/common )
2323* [ ansible-posix] ( https://docs.ansible.com/ansible/latest/collections/ansible/posix/index.html )
24- * [ community.general] ( https://docs.ansible.com/ansible/latest/collections/community/general/index.html )
2524
2625To install all the dependencies via galaxy:
2726
@@ -180,9 +179,9 @@ Role Defaults
180179
181180Providers support different sources:
182181
183- * ` url ` : http download for SPIs not requiring authentication
184- * ` maven ` : maven download for SPIs hosted publicly on Apache Maven Central or private Maven repositories like Github Maven requiring authentication
185- * ` local_path ` : static SPIs to be uploaded
182+ * ` url ` : http download for providers not requiring authentication
183+ * ` maven ` : maven download for providers hosted publicly on Apache Maven Central or private Maven repositories like Github Maven requiring authentication
184+ * ` local_path ` : static providers to be uploaded
186185
187186Provider definition:
188187
Original file line number Diff line number Diff line change 229229
230230# this requires the `lxml` package to be installed; we redirect this step to localhost such that we do need to install it on the remote hosts
231231- name : " Download custom providers to localhost using maven"
232- community.general .maven_artifact :
232+ middleware_automation.common .maven_artifact :
233233 repository_url : " {{ item.maven.repository_url }}"
234234 group_id : " {{ item.maven.group_id }}"
235235 artifact_id : " {{ item.maven.artifact_id }}"
244244 no_log : " {{ item.maven.password is defined and item.maven.password | length > 0 | default(false) }}"
245245 notify : " {{ ['rebuild keycloak config', 'restart keycloak'] if not item.restart is defined or not item.restart else [] }}"
246246
247- - name : " Upload local maven SPIs "
247+ - name : " Upload local maven providers "
248248 ansible.builtin.copy :
249249 src : " {{ local_path.stat.path }}/{{ item.id }}.jar"
250250 dest : " {{ keycloak.home }}/providers/{{ item.id }}.jar"
256256 when : item.maven is defined
257257 no_log : " {{ item.maven.password is defined and item.maven.password | length > 0 | default(false) }}"
258258
259- - name : " Upload local SPIs "
259+ - name : " Upload local providers "
260260 ansible.builtin.copy :
261261 src : " {{ item.local_path}}"
262262 dest : " {{ keycloak.home }}/providers/{{ item.id }}.jar"
You can’t perform that action at this time.
0 commit comments