mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Adding version checking to collection
This commit is contained in:
committed by
AlanCoding
parent
30610f1a62
commit
762d8a287e
@@ -8,6 +8,12 @@
|
||||
collection_version: 0.0.1 # not for updating, pass in extra_vars
|
||||
|
||||
tasks:
|
||||
- name: Set the collection version in the tower_api.py file
|
||||
replace:
|
||||
path: "{{ playbook_dir }}/plugins/module_utils/tower_api.py"
|
||||
regexp: '^ _COLLECTION_VERSION =.*'
|
||||
replace: ' _COLLECTION_VERSION = "{{ collection_version }}"'
|
||||
|
||||
- name: Do file content replacements for non-default namespace or package name
|
||||
block:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user