mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-07 05:42:55 +00:00
Issue #24: Update Molecule test suite to 3.0 and fix YAML lint issues.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: Jeff Geerling
|
||||
description: Tower role for Tower Operator for Kubernetes.
|
||||
@@ -7,6 +8,14 @@ galaxy_info:
|
||||
|
||||
min_ansible_version: 2.8
|
||||
|
||||
platforms:
|
||||
- name: EL
|
||||
versions:
|
||||
- all
|
||||
- name: Debian
|
||||
versions:
|
||||
- all
|
||||
|
||||
galaxy_tags:
|
||||
- tower
|
||||
- awx
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
exit(0 if nsu > 0 else 1)'
|
||||
| awx-manage shell"
|
||||
ignore_errors: true
|
||||
changed_when: false
|
||||
register: users_result
|
||||
changed_when: users_result.rc > 0
|
||||
|
||||
@@ -20,7 +19,7 @@
|
||||
when: users_result.rc > 0
|
||||
no_log: true
|
||||
|
||||
- name: Create preload data if necessary.
|
||||
- name: Create preload data if necessary. # noqa 305
|
||||
shell: >-
|
||||
kubectl exec -n {{ meta.namespace }} {{ tower_pod_name }} -- bash -c
|
||||
"awx-manage create_preload_data"
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
register: database_check
|
||||
when: k8s_defs_result is not changed
|
||||
|
||||
- name: Migrate the database if the K8s resources were updated.
|
||||
- name: Migrate the database if the K8s resources were updated. # noqa 305
|
||||
shell: >-
|
||||
kubectl exec -n {{ meta.namespace }} {{ tower_pod_name }} -- bash -c
|
||||
"awx-manage migrate --noinput"
|
||||
|
||||
Reference in New Issue
Block a user