Issue #24: Update Molecule test suite to 3.0 and fix YAML lint issues.

This commit is contained in:
Jeff Geerling
2020-02-20 12:44:12 -06:00
parent 34a45c0eee
commit 27b8ba968e
27 changed files with 522 additions and 522 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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"