Skip to content

Commit

Permalink
Update testing stack for the role
Browse files Browse the repository at this point in the history
This ensures role is executable with latest Ansible version.
  • Loading branch information
Dmitriy Rabotyagov authored and noonedeadpunk committed Jun 14, 2024
1 parent 8218da4 commit fb79df6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 15 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,19 @@ jobs:
fail-fast: false
matrix:
scenario:
- tag: centos-systemd:stream9
user: quay.io/gotmax23
- tag: debian-systemd:11
user: quay.io/gotmax23
- tag: ubuntu-systemd:20.04
user: quay.io/gotmax23
# - tag: centos-systemd:stream9
# user: quay.io/gotmax23
# - tag: debian-systemd:12
# user: quay.io/gotmax23
# - tag: ubuntu-systemd:20.04
# user: quay.io/gotmax23
- tag: ubuntu-systemd:22.04
user: quay.io/gotmax23
python-version:
- 3.8
- "3.10"
ansible-version:
- 2.12.6
- 2.12.10
# - 2.17.0

steps:
- name: Checkout
Expand Down
12 changes: 10 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
---

- include: check_vars.yml tags=pacemaker,check
- include: pacemaker.yml tags=pacemaker
- name: Importing variables check
import_tasks: check_vars.yml
tags:
- pacemaker
- check

- name: Importing pacemaker tasks
import_tasks: pacemaker.yml
tags:
- pacemaker
11 changes: 6 additions & 5 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
bashate>=0.2 # Apache-2.0
flake8<2.6.0,>=2.5.4 # MIT
docker==5.0.3
molecule==3.6.1
molecule-docker==1.1.0
ansible-lint==5.0.10
rich>=9.5.1,<11.0.0
docker<=7.0.0
molecule==5.1.0
molecule-plugins==23.5.0
ansible-lint==6.19.0
rich>=9.5.1,<13.5.0
requests<=2.31.0

0 comments on commit fb79df6

Please sign in to comment.