Skip to content

Commit

Permalink
Deployment test: update to Fedora 40 and matching ansible
Browse files Browse the repository at this point in the history
The COPR repos are building for the active Fedora, so let's bump that
to version 40.  While at it, we will be using a version of ansible
that has deprecated the "include" tag.  The error one gets is:

   ERROR! [DEPRECATED]: ansible.builtin.include has been removed. Use
   include_tasks or import_tasks instead. This feature was removed from
   ansible-core in a release after 2023-05-16. Please update your
   playbooks.

This updates the playbook to work properly under the matching ansible
version.

Reference: 44bcb71
Signed-off-by: Cleber Rosa <[email protected]>
  • Loading branch information
clebergnu committed Aug 15, 2024
1 parent b63407e commit 2de85a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
name: Avocado deployment
runs-on: ubuntu-latest
container:
image: fedora:36
image: fedora:40
env:
GIT_URL: 'https://github.com/avocado-framework/avocado'
INVENTORY: 'selftests/deployment/inventory'
Expand Down
6 changes: 3 additions & 3 deletions selftests/deployment/roles/common/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
- include: aexpect.yml
- include: repos.yml
- include: dependencies.yml
- include_tasks: aexpect.yml
- include_tasks: repos.yml
- include_tasks: dependencies.yml
2 changes: 1 addition & 1 deletion selftests/deployment/roles/common/tasks/repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
yum_repository:
name: avocado-latest
description: Copr repo for avocado-latest
baseurl: https://copr-be.cloud.fedoraproject.org/results/@avocado/avocado-latest/fedora-$releasever-$basearch/
baseurl: https://copr-be.cloud.fedoraproject.org/results/@avocado/avocado-latest-92lts/fedora-$releasever-$basearch/
gpgcheck: no
when:
- method == 'copr'
Expand Down

0 comments on commit 2de85a4

Please sign in to comment.