mirror of
https://github.com/ansible/awx.git
synced 2026-05-16 05:47:38 -02:30
Change regex to match what is in source
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
- name: Set the collection version in the tower_api.py file
|
- name: Set the collection version in the tower_api.py file
|
||||||
replace:
|
replace:
|
||||||
path: "{{ collection_path }}/plugins/module_utils/tower_api.py"
|
path: "{{ collection_path }}/plugins/module_utils/tower_api.py"
|
||||||
regexp: '^ _COLLECTION_VERSION = "devel"'
|
regexp: '^ _COLLECTION_VERSION = "0.0.1-devel"'
|
||||||
replace: ' _COLLECTION_VERSION = "{{ collection_version }}"'
|
replace: ' _COLLECTION_VERSION = "{{ collection_version }}"'
|
||||||
when:
|
when:
|
||||||
- "awx_template_version | default(True)"
|
- "awx_template_version | default(True)"
|
||||||
|
|||||||
Reference in New Issue
Block a user