mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 18:07:36 -02:30
Now using new X-API headers to test version and type
This commit is contained in:
committed by
AlanCoding
parent
762d8a287e
commit
81eb9bb78a
@@ -14,6 +14,12 @@
|
||||
regexp: '^ _COLLECTION_VERSION =.*'
|
||||
replace: ' _COLLECTION_VERSION = "{{ collection_version }}"'
|
||||
|
||||
- name: Set the collection type in the tower_api.py file
|
||||
replace:
|
||||
path: "{{ playbook_dir }}/plugins/module_utils/tower_api.py"
|
||||
regexp: '^ _COLLECTION_TYPE =.*'
|
||||
replace: ' _COLLECTION_TYPE = "{{ collection_namespace }}"'
|
||||
|
||||
- name: Do file content replacements for non-default namespace or package name
|
||||
block:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user