From 319fdc91719bb3c3bfb932f641b75dc30480e75c Mon Sep 17 00:00:00 2001 From: "tompage1994@hotmail.co.uk" Date: Thu, 30 May 2024 11:59:48 +0100 Subject: [PATCH] Fix CI issue where we can't guarentee running in a specific order --- tests/playbooks/ah_configs/ah_ee_repositories.yml | 3 --- tests/playbooks/testing_playbook_ee_repository.yml | 8 ++++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/playbooks/ah_configs/ah_ee_repositories.yml b/tests/playbooks/ah_configs/ah_ee_repositories.yml index ce70bc7b..f9bab5dc 100644 --- a/tests/playbooks/ah_configs/ah_ee_repositories.yml +++ b/tests/playbooks/ah_configs/ah_ee_repositories.yml @@ -43,7 +43,4 @@ ah_ee_repositories: * bullet 1 * bullet 2 - # Testing updating the repository README file from a local file - - name: test-namespace/ee-minimal-rhel8 - readme_file: "{{ tempfile['path'] }}" ... diff --git a/tests/playbooks/testing_playbook_ee_repository.yml b/tests/playbooks/testing_playbook_ee_repository.yml index 7e4c9e07..9477b266 100644 --- a/tests/playbooks/testing_playbook_ee_repository.yml +++ b/tests/playbooks/testing_playbook_ee_repository.yml @@ -47,6 +47,14 @@ ansible.builtin.include_role: name: ee_repository + - name: Test updating the repository README file from a local file + ansible.builtin.include_role: + name: ee_repository + vars: + ah_ee_repositories: + - name: test-namespace/ee-minimal-rhel8 + readme_file: "{{ tempfile['path'] }}" + - name: Repository sync ansible.builtin.include_role: name: ee_repository_sync