Fixed errors in gating ansible playbook

This commit is contained in:
Oliver Gutierrez 2021-08-20 10:37:29 +01:00
parent 28e8056771
commit 146838a614
No known key found for this signature in database
GPG Key ID: C4D0A809DC608C15

View File

@ -15,7 +15,6 @@
local_environment: local_environment:
TEST_NAME: "{{ test.name }}" TEST_NAME: "{{ test.name }}"
TEST_PACKAGE: "{{ test.package }}" TEST_PACKAGE: "{{ test.package }}"
TEST_ENV: "{{ test.environment }}"
- name: "{{ test.name }} | setup/teardown helper | see if exists" - name: "{{ test.name }} | setup/teardown helper | see if exists"
local_action: stat path={{ role_path }}/files/helper.{{ test_name_oneword }}.sh local_action: stat path={{ role_path }}/files/helper.{{ test_name_oneword }}.sh
@ -31,7 +30,6 @@
chdir: /usr/share/{{ test.package }}/test/system chdir: /usr/share/{{ test.package }}/test/system
become: "{{ true if test.become is defined else false }}" become: "{{ true if test.become is defined else false }}"
become_user: testuser become_user: testuser
environment: "{{ local_environment | combine(test.environment) }}"
- name: "{{ test.name }} | pull logs" - name: "{{ test.name }} | pull logs"
fetch: fetch: