Added env variable CONTROLLER_HOST, et al. Add awx.awx namespace to the runtime.yml redirects, and added templating task to change to ansible.controller

This commit is contained in:
Seth Foster
2021-05-06 15:04:52 -04:00
parent 1ade9b3a7d
commit 39b26c8f0e
9 changed files with 75 additions and 67 deletions

View File

@@ -34,6 +34,12 @@
regexp: "^ NAME = 'awx.awx.controller' # REPLACE$"
replace: " NAME = '{{ collection_namespace }}.{{ collection_package }}.controller' # REPLACE"
- name: Change runtime.yml redirect destinations
replace:
path: "{{ collection_path}}/meta/runtime.yml"
regexp: "redirect: awx.awx."
replace: "redirect: '{{ collection_namespace }}.{{ collection_package }}."
- name: get list of test files
find:
paths: "{{ collection_path }}/tests/integration/targets/"