Merge pull request #92 from Spredzy/fix_ci

travis.yml: Explicitly list ansible as a dep
This commit is contained in:
Yanis Guenane
2021-02-09 22:07:52 +01:00
committed by GitHub
5 changed files with 12 additions and 10 deletions

View File

@@ -12,7 +12,7 @@ env:
- DOCKER_API_VERSION=1.38
install:
- pip3 install docker molecule molecule-docker yamllint ansible-lint openshift jmespath
- pip3 install docker molecule molecule-docker yamllint ansible-lint openshift jmespath ansible
- ansible-galaxy collection install community.kubernetes operator_sdk.util
script:

View File

@@ -10,8 +10,10 @@
template:
src: crd.yml.j2
dest: "{{ playbook_dir }}/../deploy/crds/awx_v1beta1_crd.yaml"
mode: '0644'
- name: Template awx-operator.yaml
template:
src: awx-operator.yaml.j2
dest: ../deploy/awx-operator.yaml
mode: '0644'

View File

@@ -5,6 +5,6 @@
vars:
ansible_python_interpreter: '{{ ansible_playbook_python }}'
roles:
- awx
- installer
- import_playbook: '{{ playbook_dir }}/asserts.yml'

View File

@@ -97,8 +97,8 @@
kind=custom_resource.kind,
api_version=custom_resource.apiVersion,
namespace=custom_resource.metadata.namespace,
resource_name=custom_resource.metadata.name
)}}'
resource_name=custom_resource.metadata.name)
}}'
- name: debug awx deployment
ignore_errors: yes
@@ -110,8 +110,8 @@
kind="Deployment",
api_version="apps/v1",
namespace=custom_resource.metadata.namespace,
label_selector="app=awx"
)}}'
label_selector="app=awx")
}}'
- name: get operator logs
ignore_errors: yes

View File

@@ -105,8 +105,8 @@
kind=custom_resource.kind,
api_version=custom_resource.apiVersion,
namespace=custom_resource.metadata.namespace,
resource_name=custom_resource.metadata.name
)}}'
resource_name=custom_resource.metadata.name)
}}'
- name: debug awx deployment
ignore_errors: yes
@@ -118,8 +118,8 @@
kind="Deployment",
api_version="apps/v1",
namespace=custom_resource.metadata.namespace,
label_selector="app=awx"
)}}'
label_selector="app=awx")
}}'
- name: get operator logs
ignore_errors: yes