mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
controller_meta, templating
This commit is contained in:
@@ -24,15 +24,15 @@
|
||||
with_fileglob:
|
||||
- "{{ collection_path }}/plugins/inventory/*.py"
|
||||
- "{{ collection_path }}/plugins/lookup/*.py"
|
||||
- "{{ collection_path }}/plugins/modules/tower_*.py"
|
||||
- "{{ collection_path }}/plugins/modules/*.py"
|
||||
loop_control:
|
||||
label: "{{ item | basename }}"
|
||||
|
||||
- name: Change inventory file to support desired namespace and package names
|
||||
replace:
|
||||
path: "{{ collection_path }}/plugins/inventory/controller.py"
|
||||
regexp: "^ NAME = 'awx.awx.tower' # REPLACE$"
|
||||
replace: " NAME = '{{ collection_namespace }}.{{ collection_package }}.tower' # REPLACE"
|
||||
regexp: "^ NAME = 'awx.awx.controller' # REPLACE$"
|
||||
replace: " NAME = '{{ collection_namespace }}.{{ collection_package }}.controller' # REPLACE"
|
||||
|
||||
- name: get list of test files
|
||||
find:
|
||||
|
||||
Reference in New Issue
Block a user