mirror of
https://github.com/ansible/awx-operator.git
synced 2026-04-19 07:11:29 +00:00
Dont register instance in operator
This happens in the app
This commit is contained in:
@@ -46,14 +46,6 @@
|
||||
changed_when: "'added' in cdo.stdout"
|
||||
when: create_preload_data | bool
|
||||
|
||||
- name: Register the instance in the database
|
||||
k8s_exec:
|
||||
namespace: "{{ meta.namespace }}"
|
||||
pod: "{{ tower_pod_name }}"
|
||||
container: "{{ meta.name }}-task"
|
||||
command: >-
|
||||
bash -c "awx-manage provision_instance --hostname={{ tower_pod_name }}"
|
||||
|
||||
- name: Check if legacy queue is present
|
||||
k8s_exec:
|
||||
namespace: "{{ meta.namespace }}"
|
||||
|
||||
Reference in New Issue
Block a user