mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-07 22:02:53 +00:00
Update tests and lint concerns
This commit is contained in:
@@ -11,12 +11,12 @@ tower_admin_password: changeme
|
||||
tower_broadcast_websocket_secret: changeme
|
||||
|
||||
# Use these image versions for Ansible Tower.
|
||||
#tower_task_image: registry.redhat.io/ansible-tower-37/ansible-tower-rhel7:3.7.0
|
||||
#tower_web_image: registry.redhat.io/ansible-tower-37/ansible-tower-rhel7:3.7.0
|
||||
# tower_task_image: registry.redhat.io/ansible-tower-37/ansible-tower-rhel7:3.7.0
|
||||
# tower_web_image: registry.redhat.io/ansible-tower-37/ansible-tower-rhel7:3.7.0
|
||||
|
||||
# Use these image versions for Ansible AWX.
|
||||
tower_task_image: ansible/awx:13.0.0
|
||||
tower_web_image: ansible/awx:13.0.0
|
||||
tower_task_image: ansible/awx:14.0.0
|
||||
tower_web_image: ansible/awx:14.0.0
|
||||
|
||||
tower_create_preload_data: true
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
k8s_info:
|
||||
kind: Secret
|
||||
namespace: '{{ meta.namespace }}'
|
||||
name: '{{meta.name }}-postgres-configuration'
|
||||
name: '{{ meta.name }}-postgres-configuration'
|
||||
register: postgres_config_resources
|
||||
|
||||
- name: Create Database configuration if it doesn't already exist
|
||||
@@ -51,7 +51,6 @@
|
||||
definition: "{{ lookup('template', 'tower_secret.yaml.j2') }}"
|
||||
register: k8s_tower_secret_result
|
||||
when: secret_key_resources['resources'] | length < 1
|
||||
|
||||
|
||||
- name: Ensure configured AWX resources exist in the cluster.
|
||||
k8s:
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
|
||||
---
|
||||
- name: Check for existing secret key
|
||||
k8s_info:
|
||||
kind: Secret
|
||||
@@ -11,7 +10,7 @@
|
||||
k8s_info:
|
||||
kind: Secret
|
||||
namespace: '{{ meta.namespace }}'
|
||||
name: '{{meta.name }}-postgres-configuration'
|
||||
name: '{{ meta.name }}-postgres-configuration'
|
||||
register: postgres_config_resources
|
||||
|
||||
- name: Remove ownerReferences from PG configuration if it exists
|
||||
|
||||
Reference in New Issue
Block a user