mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 00:57:48 -02:30
Get sanity tests to work for ansible.tower and Ansible 2.10
This commit is contained in:
@@ -30,6 +30,13 @@
|
|||||||
path: "{{ collection_path }}/plugins/inventory/tower.py"
|
path: "{{ collection_path }}/plugins/inventory/tower.py"
|
||||||
regexp: "^ NAME = 'awx.awx.tower' # REPLACE$"
|
regexp: "^ NAME = 'awx.awx.tower' # REPLACE$"
|
||||||
replace: " NAME = '{{ collection_namespace }}.{{ collection_package }}.tower' # REPLACE"
|
replace: " NAME = '{{ collection_namespace }}.{{ collection_package }}.tower' # REPLACE"
|
||||||
|
|
||||||
|
- name: Get sanity tests to work with non-default name
|
||||||
|
lineinfile:
|
||||||
|
path: "{{ collection_path }}/tests/sanity/ignore-2.10.txt"
|
||||||
|
state: absent
|
||||||
|
regexp: ' pylint:wrong-collection-deprecated-version-tag$'
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- (collection_package != 'awx') or (collection_namespace != 'awx')
|
- (collection_package != 'awx') or (collection_namespace != 'awx')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user