120 Commits
Author SHA1 Message Date
marko 7497474653 Merge tag '1.4.0'
Ansible Lint / ansible_lint (map[ansible:2.16.* ansible_lint:24.* python:3.12]) (push) Skipped
Ansible Lint / ansible_lint (map[ansible:2.20.* ansible_lint:26.* python:3.13]) (push) Skipped
Check for ansible_managed variable use in comments / ansible_managed_var_comment (push) Skipped
Ansible Test / ansible_test (map[ansible:2-14 python:3.9]) (push) Skipped
Ansible Test / ansible_test (map[ansible:2-16 python:3.11]) (push) Skipped
Ansible Test / ansible_test (map[ansible:2-17 python:3.12]) (push) Skipped
Ansible Test / ansible_test (map[ansible:2-18 python:3.12]) (push) Skipped
Ansible Test / ansible_test (map[ansible:2-19 python:3.13]) (push) Skipped
Ansible Test / ansible_test (map[ansible:milestone python:3.13]) (push) Skipped
Ansible Test / ansible_test (map[ansible:2-20 python:3.13]) (push) Skipped
Tag, release, and publish role based on CHANGELOG.md push / tag_release_publish (push) Failing after 58s
Markdown Lint / markdownlint (push) Skipped
Test / scenario (map[env:container-ansible-core-2-16 image:centos-9-bootc]) (push) Skipped
Test / scenario (map[env:container-ansible-core-2-16 image:centos-9]) (push) Skipped
Test / scenario (map[env:container-ansible-core-2-17 image:centos-10-bootc]) (push) Skipped
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-43]) (push) Skipped
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-43-bootc]) (push) Skipped
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-44-bootc]) (push) Skipped
Test / scenario (map[env:container-ansible-core-2-21 image:fedora-44]) (push) Skipped
Test / scenario (map[env:qemu-ansible-core-2-16 image:centos-9]) (push) Skipped
Test / scenario (map[env:qemu-ansible-core-2-17 image:centos-10]) (push) Skipped
Test / scenario (map[env:qemu-ansible-core-2-18 image:leap-15.6]) (push) Skipped
Test / scenario (map[env:qemu-ansible-core-2-21 image:fedora-44]) (push) Skipped
Test / scenario (map[env:qemu-ansible-core-2-20 image:fedora-43]) (push) Skipped
ShellCheck / shellcheck (push) Successful in 16s
Test converting README.md to README.html / test_converting_readme (push) Skipped
[1.4.0] - 2026-08-06
--------------------

- feat: Write roles fingerprints to /var/log/sysroles.jsonl [citest_skip] (#100)

- ci: bump actions/setup-python from 6 to 7 (#98)
- ci: ensure dependabot updates do not invoke ci tests [citest_skip] (#99)
2026-08-07 22:51:41 +02:00
Rich MegginsonandRichard Megginson 6007ac734f docs(changelog): version 1.4.0 [citest_skip]
Update changelog and .README.html for version 1.4.0

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-08-06 16:22:39 -06:00
83471be571 fix: Update sr_fingerprint task calls to use new structured parameters
The sr_fingerprint module was rewritten to accept structured parameters
(status, role_name, role_path, etc.) instead of a free-form sr_message.
Update the role tasks and tests to match the new module interface.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-08-06 16:11:09 -06:00
Sergei PetrosianandRichard Megginson d9ba105ef3 feat: Write roles fingerprints to /var/log/sysroles.jsonl [citest_skip]
Feature: Write roles fingerprints to /var/log/sysroles.jsonl [citest_skip]

Reason: By default logs are printed to rsyslog. This change adds a possibility to write logs to a file on the system for the downstream users.

Result: For the upstream, this makes rsyslog log message more detailed. For the downstream - also writes logs to /var/log/sysroles.jsonl
Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
2026-08-06 16:11:09 -06:00
Rich MegginsonandRichard Megginson c04dc49ded ci: ensure dependabot updates do not invoke ci tests [citest_skip]
dependabot updates are DoSing our ci tests - we have a limited number of github
action jobs and a dependabot update can eat up all of those for several hours,
causing problems for "real" PRs that we need testing for immediately.

Instead, tell these updates to skip ci testing, and we will manually
trigger specific roles/tests as needed when there is a dependabot update.

see https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#prefix
for more information.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-08-04 15:29:55 -06:00
dependabot[bot]andRichard Megginson 91631c556e ci: bump actions/setup-python from 6 to 7
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-04 06:33:55 -06:00
marko aadd117d01 Refine AIDE update command error handling based on return codes
Ansible Lint / ansible_lint (map[ansible:2.16.* ansible_lint:24.* python:3.12]) (push) Failing after 45s
Ansible Lint / ansible_lint (map[ansible:2.20.* ansible_lint:26.* python:3.13]) (push) Failing after 49s
Check for ansible_managed variable use in comments / ansible_managed_var_comment (push) Failing after 6s
Ansible Test / ansible_test (map[ansible:2-14 python:3.9]) (push) Failing after 5s
Ansible Test / ansible_test (map[ansible:2-16 python:3.11]) (push) Failing after 5s
Ansible Test / ansible_test (map[ansible:2-17 python:3.12]) (push) Failing after 5s
Ansible Test / ansible_test (map[ansible:2-18 python:3.12]) (push) Failing after 4s
Ansible Test / ansible_test (map[ansible:2-19 python:3.13]) (push) Failing after 5s
Ansible Test / ansible_test (map[ansible:2-20 python:3.13]) (push) Failing after 5s
Ansible Test / ansible_test (map[ansible:milestone python:3.13]) (push) Failing after 4s
Markdown Lint / markdownlint (push) Failing after 40s
Test / scenario (map[env:container-ansible-core-2-16 image:centos-9-bootc]) (push) Failing after 42s
Test / scenario (map[env:container-ansible-core-2-16 image:centos-9]) (push) Failing after 45s
Test / scenario (map[env:container-ansible-core-2-17 image:centos-10-bootc]) (push) Failing after 39s
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-43-bootc]) (push) Failing after 42s
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-43]) (push) Failing after 34s
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-44-bootc]) (push) Failing after 28s
Test / scenario (map[env:container-ansible-core-2-21 image:fedora-44]) (push) Failing after 30s
Test / scenario (map[env:qemu-ansible-core-2-16 image:centos-9]) (push) Failing after 37s
Test / scenario (map[env:qemu-ansible-core-2-17 image:centos-10]) (push) Failing after 31s
Test / scenario (map[env:qemu-ansible-core-2-18 image:leap-15.6]) (push) Failing after 30s
Test / scenario (map[env:qemu-ansible-core-2-20 image:fedora-43]) (push) Failing after 42s
Test / scenario (map[env:qemu-ansible-core-2-21 image:fedora-44]) (push) Failing after 37s
ShellCheck / shellcheck (push) Failing after 50s
Test converting README.md to README.html / test_converting_readme (push) Failing after 41s
2026-07-27 20:32:10 +02:00
marko 823b51fa36 Update AIDE check command to handle exit codes for better error handling
Ansible Lint / ansible_lint (map[ansible:2.16.* ansible_lint:24.* python:3.12]) (push) Failing after 18s
Ansible Lint / ansible_lint (map[ansible:2.20.* ansible_lint:26.* python:3.13]) (push) Failing after 15s
Check for ansible_managed variable use in comments / ansible_managed_var_comment (push) Failing after 6s
Ansible Test / ansible_test (map[ansible:2-14 python:3.9]) (push) Failing after 6s
Ansible Test / ansible_test (map[ansible:2-16 python:3.11]) (push) Failing after 6s
Ansible Test / ansible_test (map[ansible:2-17 python:3.12]) (push) Failing after 5s
Ansible Test / ansible_test (map[ansible:2-18 python:3.12]) (push) Failing after 5s
Ansible Test / ansible_test (map[ansible:2-19 python:3.13]) (push) Failing after 6s
Ansible Test / ansible_test (map[ansible:2-20 python:3.13]) (push) Failing after 5s
Ansible Test / ansible_test (map[ansible:milestone python:3.13]) (push) Failing after 5s
Markdown Lint / markdownlint (push) Successful in 14s
Test / scenario (map[env:container-ansible-core-2-16 image:centos-9-bootc]) (push) Failing after 9s
Test / scenario (map[env:container-ansible-core-2-16 image:centos-9]) (push) Failing after 8s
Test / scenario (map[env:container-ansible-core-2-17 image:centos-10-bootc]) (push) Failing after 8s
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-43-bootc]) (push) Failing after 41s
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-43]) (push) Failing after 38s
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-44-bootc]) (push) Failing after 50s
Test / scenario (map[env:container-ansible-core-2-21 image:fedora-44]) (push) Failing after 44s
Test / scenario (map[env:qemu-ansible-core-2-16 image:centos-9]) (push) Failing after 41s
Test / scenario (map[env:qemu-ansible-core-2-17 image:centos-10]) (push) Failing after 33s
Test / scenario (map[env:qemu-ansible-core-2-18 image:leap-15.6]) (push) Failing after 40s
Test / scenario (map[env:qemu-ansible-core-2-20 image:fedora-43]) (push) Failing after 33s
Test / scenario (map[env:qemu-ansible-core-2-21 image:fedora-44]) (push) Failing after 28s
ShellCheck / shellcheck (push) Failing after 39s
Test converting README.md to README.html / test_converting_readme (push) Failing after 42s
2026-07-27 20:06:54 +02:00
Rich MegginsonandRichard Megginson 87545d0200 docs(changelog): version 1.3.2 [citest_skip]
Update changelog and .README.html for version 1.3.2

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-07-27 10:42:35 -06:00
marko 10141cd792 - Add a separate variable that controls uploading existing AIDE database from the controller node during the check phase.
Ansible Lint / ansible_lint (map[ansible:2.16.* ansible_lint:24.* python:3.12]) (push) Failing after 1m44s
Ansible Lint / ansible_lint (map[ansible:2.20.* ansible_lint:26.* python:3.13]) (push) Failing after 15s
Check for ansible_managed variable use in comments / ansible_managed_var_comment (push) Failing after 5s
Ansible Test / ansible_test (map[ansible:2-14 python:3.9]) (push) Failing after 7s
Ansible Test / ansible_test (map[ansible:2-16 python:3.11]) (push) Failing after 6s
Ansible Test / ansible_test (map[ansible:2-17 python:3.12]) (push) Failing after 6s
Ansible Test / ansible_test (map[ansible:2-18 python:3.12]) (push) Failing after 6s
Ansible Test / ansible_test (map[ansible:2-19 python:3.13]) (push) Failing after 6s
Ansible Test / ansible_test (map[ansible:2-20 python:3.13]) (push) Failing after 6s
Ansible Test / ansible_test (map[ansible:milestone python:3.13]) (push) Failing after 6s
Markdown Lint / markdownlint (push) Successful in 17s
Test / scenario (map[env:container-ansible-core-2-16 image:centos-9-bootc]) (push) Failing after 29s
Test / scenario (map[env:container-ansible-core-2-16 image:centos-9]) (push) Failing after 11s
Test / scenario (map[env:container-ansible-core-2-17 image:centos-10-bootc]) (push) Failing after 10s
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-43-bootc]) (push) Failing after 10s
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-43]) (push) Failing after 10s
Test / scenario (map[env:container-ansible-core-2-20 image:fedora-44-bootc]) (push) Failing after 42s
Test / scenario (map[env:container-ansible-core-2-21 image:fedora-44]) (push) Failing after 46s
Test / scenario (map[env:qemu-ansible-core-2-16 image:centos-9]) (push) Failing after 40s
Test / scenario (map[env:qemu-ansible-core-2-17 image:centos-10]) (push) Failing after 42s
Test / scenario (map[env:qemu-ansible-core-2-18 image:leap-15.6]) (push) Failing after 41s
Test / scenario (map[env:qemu-ansible-core-2-20 image:fedora-43]) (push) Failing after 44s
Test / scenario (map[env:qemu-ansible-core-2-21 image:fedora-44]) (push) Failing after 40s
ShellCheck / shellcheck (push) Failing after 42s
Test converting README.md to README.html / test_converting_readme (push) Failing after 54s
- Fetch AIDE logs from the latest run to the controller node.
2026-07-26 23:58:15 +02:00
Rich MegginsonandRichard Megginson ce0a62bf1a ci: Add support for Fedora 44 and drop Fedora 42 - use ansible-core 2.21 [citest_skip]
It's time to test with F44 and drop F42.

Use ansible-core 2.21 for testing - this is now the latest stable version.

Deprecate podman 5 install hack in favor of official github action

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-07-22 16:16:09 -06:00
Rich MegginsonandRichard Megginson a1f4fe279a ci: bump tox-lsr version to 3.20.0 to fix tox 4.58 api breakage [citest_skip]
This fixes the tox-lsr related test failures in ansible-lint, et. al. caused
by an internal tox api change in version 4.58

See https://github.com/linux-system-roles/tox-lsr/pull/245 for more info

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-07-21 13:51:38 -06:00
Robert WelchandRichard Megginson df809ebfcd only update and fetch aide database if run mode 2026-07-08 07:16:00 -06:00
Robert WelchandRichard Megginson 2f51a6e523 only check aide integrity if run mode 2026-07-08 07:16:00 -06:00
Robert WelchandRichard Megginson 887e4403a2 only fetch aide database if run mode 2026-07-08 07:16:00 -06:00
Robert WelchandRichard Megginson 4716624228 only init database if run mode 2026-07-08 07:16:00 -06:00
Robert WelchandRichard Megginson 0504d2d5af get aide version in check mode 2026-07-08 07:16:00 -06:00
Robert WelchandRichard Megginson 96cda3f1d4 if check mode, verify packages are installed before continuing
If packages are not installed, commands will fail in check mode.
2026-07-08 07:16:00 -06:00
Rich MegginsonandRichard Megginson 8ef1897517 ci: Use our own pr_title_lint.py instead of NPM commitlint [citest_skip]
There are a few problems with the NPM commitlint

* NPM is problematic
* Having to install NPM and commitlint and dependencies is slow and heavyweight
* commitlint is overkill for our simple use case

We have our own pr_title_lint.py which is small and works exactly for our use case.

Enhance coderabbit checks for PRs and test cleanup

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-07-02 09:50:57 -06:00
dependabot[bot]andRichard Megginson b27d20fb52 ci: bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-01 16:26:00 -06:00
Rich MegginsonandRichard Megginson 332f01f0c7 ci: use gha checkout v7, codecov v7 [citest_skip]
Use github actions checkout @v7

Use codecov action @v7

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-07-01 08:42:26 -06:00
Rich MegginsonandRichard Megginson 3f92165a45 docs(changelog): version 1.3.1 [citest_skip]
Update changelog and .README.html for version 1.3.1

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-06-24 12:08:11 -06:00
Rich MegginsonandRichard Megginson 0fa4eadf82 test: remove unused files [citest_skip]
Remove py26 requirements

Use ansible-core instead of ansible - much smaller

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-06-24 10:42:23 -06:00
Sergei PetrosianandSergei Petrosian 7059aa8e90 ci: Skip reviews for PRs with [citest_skip] in the title
- Add info about .coderabbit.yam for AI assistants to contributing.md
- Note that CodeRabbit uses config from the main branch so this change will apply
after this PR is merged.

Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
2026-05-21 10:17:00 +02:00
Rich MegginsonandRichard Megginson f5a52fc854 refactor: use ansible.posix 2.1.X for EL7 compatibility [citest_skip]
The recently released ansible.posix 2.2.0 does not work on EL7.
Pin the version of ansible.posix to 2.1.X.

NOTE: Even though this role might not support EL7, this update
is applied to all system roles for consistency.  Plus, when this
role is part of the system roles collection, all roles must use
the same version of ansible.posix - there is no way for a role
which is part of a collection to use a different version of a
dependency than the version used by the other roles.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-05-20 08:08:33 -06:00
Sergei PetrosianandSergei Petrosian 27aa75f184 ci: Add config file for CodeRabbit with custom rules
Sourcery that we currently use cannot read documentation files and best
practices, it's rather a refactoring tool.
So I want to introduce CodeRabbit that allows creating .coderabbit.yaml with
custom rules and conventions.

Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
2026-05-19 14:04:43 +02:00
dependabot[bot]andRichard Megginson 332035f27b ci: bump actions/github-script from 8 to 9
Bumps [actions/github-script](https://github.com/actions/github-script) from 8 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-03 15:27:23 -06:00
Rich MegginsonandRichard Megginson 1c437d4ba4 docs(changelog): version 1.3.0 [citest_skip]
Update changelog and .README.html for version 1.3.0

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-04-28 11:14:09 -06:00
Rich MegginsonandRichard Megginson 5a4a533fee test: add role fingerprints to syslog
Test updates based on testing with bootc and on other platforms.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-04-22 14:45:35 -06:00
Rich MegginsonandRichard Megginson 659d89dd69 feat: add role fingerprints to syslog
Feature: Add a fingerprint string to the system log to indicate when the role began
successfully, and when the role finished successfully.  The fingerprint string indicates
the role name, a timestamp, and the platform.

Reason: Users can see when the role was used and if it was used successfully.  This
information from the system log can be collected by log scanners and aggregators
for further analysis.

Result: The role logs fingerprints to the system log.

This also adds a test to check if the fingerprints were written upon a successful
role invocation.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-04-22 10:52:25 -06:00
Rich MegginsonandRichard Megginson 19b462a7f8 ci: ansible-lint requires dependencies to be installed [citest_skip]
ansible-lint requires the dependencies in meta/collection-requirements.yml
and tests/collection-requirements.yml to be installed.  tox-lsr 3.18.1
will ensure they are installed.

Refactor the tests somewhat so that the collection and test steps are separate.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-04-09 17:16:38 -06:00
Rich MegginsonandRichard Megginson cae72d8dd4 ci: Comply with Ansible partner certification checking [citest_skip]
https://github.com/ansible-collections/partner-certification-checker/blob/main/README.md

Unfortunately we cannot use the checkers provided by their team because they assume
the git repo is in collection format - you cannot convert to collection format first
then point the checkers at that collection.  Instead, implement our own checkers that
do the same (and more) - check with multiple versions of ansible-lint and ansible-test
to ensure we cover:

* all supported versions of EL
* Automation Hub gating
* the latest versions of Ansible, including the latest milestone version

This requires the latest version of tox-lsr

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-04-08 16:18:07 -06:00
Rich MegginsonandRichard Megginson 0732181e3f ci: update header for run_role_with_clear_facts [citest_skip]
Update header for run_role_with_clear_facts to indicate not editable
and clarify what it does

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-04-08 07:42:56 -06:00
Rich MegginsonandRichard Megginson 67081a70de ci: fix yum repos to use devel site instead of old site name [citest_skip]
Some of the older Testing Farm machines refer to the old site name in the yum repos.
Ensure that they use the correct site name.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-04-01 12:21:53 -06:00
Rich MegginsonandRichard Megginson 091570301d test: ensure role gathers the facts it uses by having test clear_facts before include_role
The role gathers the facts it uses.  For example, if the user uses
`ANSIBLE_GATHERING=explicit`, the role uses the `setup` module with the
facts and subsets it requires.

This change allows us to test this.  Before every role invocation, the test
will use `meta: clear_facts` so that the role starts with no facts.

Create a task file tests/tasks/run_role_with_clear_facts.yml to do the tasks
to clear the facts and run the role.  Note that this means we don't need to
use `gather_facts` for the tests.

Some vars defined using `ansible_facts` have been changed to be defined with
`set_fact` instead.  This is because of the fact that `vars` are lazily
evaluated - the var might be referenced when the facts have been cleared, and
will issue an error like `ansible_facts["distribution"] is undefined`.  This is
typically done for blocks that have a `when` condition that uses `ansible_facts`
and the block has a role invocation using run_role_with_clear_facts.yml
These have been rewritten to define the `when` condition using `set_fact`.  This
is because the `when` condition is evaluated every time a task is invoked in the
block, and if the facts are cleared, this will raise an undefined variable error.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-03-19 09:18:34 -06:00
Rich MegginsonandRichard Megginson 84a356a028 ci: tox-lsr 3.17.1 - previous update broke container tests, this fixes them [citest_skip]
tox-lsr 3.17.1 has a fix for the broken container tests

There was one shell function for both setting up the callback plugins and the connection plugin.
When this function was skipped, the ANSIBLE_CONNECTION_PLUGINS environment variable was not
set, so all subsequent tests failed.  The connection plugin must be present and the env. var.
must be set in order to run any container tests.  The code was fixed to ensure that there is
always a connection plugin installed in the correct location and that ANSIBLE_CONNECTION_PLUGINS
is always set and contains this path.

Also, setting up the callback plugins and the connection plugin is already idempotent, so no
reason to skip them.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-03-13 10:06:05 -06:00
Rich MegginsonandRichard Megginson e1680b64f1 ci: tox-lsr 3.17.0 - container test improvements, use ansible 2.20 for fedora 43 [citest_skip]
tox-lsr 3.17.0 has some container test improvements - better output, faster runs

Use Ansible 2.20 for qemu/container tests on fedora 43

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-03-11 06:44:11 -06:00
Rich MegginsonandRichard Megginson 404a1d1ff2 ci: tox-lsr 3.16.0 - fix qemu tox test failures - rename to qemu-ansible-core-X-Y [citest_skip]
the latest version of tox 4.49 has a strange issue - it thinks that a tox testenv
like `[qemu-ansible-core-2.20]` is specifying python 2.20 which conflicts with the
testenv basepython of python 3.latest.  There appears to be no way to workaround this.

So, rename all of the testenvs to use `major-minor` instead of `major.minor` e.g.
`[qemu-ansible-core-2-20]`

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-03-09 15:46:01 -06:00
dependabot[bot]andRichard Megginson df0cabfea1 ci: bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-02 10:08:13 -07:00
Rich MegginsonandRichard Megginson 7318859c23 ci: Ansible version must be string, not float [citest_skip]
The ansible version is specified as a YAML floating point number.  This causes
`2.20` to be converted to `2.2` which breaks platforms that use ansible 2.20.
Ensure it and similar version numbers are specified in YAML as strings.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-02-17 15:09:46 -05:00
Rich MegginsonandRichard Megginson f913d846bb ci: Add Fedora 43, remove Fedora 41 from Testing Farm CI
Add Fedora 43, remove Fedora 41 from Testing Farm CI

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-02-11 14:31:29 -05:00
Rich MegginsonandRichard Megginson 4a81d751ad ci: tox-lsr version 3.15.0 [citest_skip]
This adds back support for IPv6 in qemu VMs, which appears to be working now.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-02-10 11:23:47 -05:00
Rich MegginsonandRichard Megginson 6728f85cab ci: ansible-lint - remove .collection directory from converted collection [citest_skip]
The new ansible-lint@v26 does not like it when there is a .collection directory
with a galaxy.yml in the converted collection, so remove it, since it is not
needed for ansible-lint.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-02-04 16:06:26 -05:00
Rich MegginsonandRichard Megginson 499a04aa38 ci: skip most CI checks if title contains citest skip [citest_skip]
When we submit a PR for a CI update or docs, we do not want to start CI checking
for ansible-lint, qemu, etc.  When we are doing CI updates to 30 or more
roles, this fires off a lot of unnecessary tests, which sometimes causes the
linux-system-roles org in github to be throttled.

When submitting a PR that can skip ci, use "[citest_skip]" in the PR title.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-02-04 09:03:27 -05:00
Rich MegginsonandRichard Megginson a73a378eee ci: skip most CI checks if title contains citest skip [citest_skip]
When we submit a PR for a CI update or docs, we do not want to start CI checking
for ansible-lint, qemu, etc.  When we are doing CI updates to 30 or more
roles, this fires off a lot of unnecessary tests, which sometimes causes the
linux-system-roles org in github to be throttled.

When submitting a PR that can skip ci, use "[citest_skip]" in the PR title.

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-02-04 09:03:27 -05:00
dependabot[bot]andRichard Megginson 69cdc2d420 ci: bump ansible/ansible-lint from 25 to 26
Bumps [ansible/ansible-lint](https://github.com/ansible/ansible-lint) from 25 to 26.
- [Release notes](https://github.com/ansible/ansible-lint/releases)
- [Commits](https://github.com/ansible/ansible-lint/compare/v25...v26)

---
updated-dependencies:
- dependency-name: ansible/ansible-lint
  dependency-version: '26'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-03 16:22:22 -05:00
Rich MegginsonandRichard Megginson b1f77838d2 ci: use ANSIBLE_INJECT_FACT_VARS=false by default for testing
Ansible 2.20 has deprecated the use of Ansible facts as variables.  For
example, `ansible_distribution` is now deprecated in favor of
`ansible_facts["distribution"]`.  This is due to making the default
setting `INJECT_FACTS_AS_VARS=false`.  For now, this will create WARNING
messages, but in Ansible 2.24 it will be an error.

In order to ensure that commits and PRs conform to this, use
ANSIBLE_INJECT_FACT_VARS=false by default in our CI testing.

Update README-ostree.md if needed.

See https://docs.ansible.com/projects/ansible/latest/porting_guides/porting_guide_core_2.20.html#inject-facts-as-vars

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-01-13 10:33:02 -05:00
Rich MegginsonandRichard Megginson 7ac5ab66d7 docs(changelog): version 1.2.5 [citest skip]
Update changelog and .README.html for version 1.2.5

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-01-07 18:55:16 -05:00
Rich MegginsonandRichard Megginson c9cd2fb359 refactor: handle INJECT_FACTS_AS_VARS=false by using ansible_facts instead
Ansible 2.20 has deprecated the use of Ansible facts as variables.  For
example, `ansible_distribution` is now deprecated in favor of
`ansible_facts["distribution"]`.  This is due to making the default
setting `INJECT_FACTS_AS_VARS=false`.  For now, this will create WARNING
messages, but in Ansible 2.24 it will be an error.

See https://docs.ansible.com/projects/ansible/latest/porting_guides/porting_guide_core_2.20.html#inject-facts-as-vars

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-01-07 09:29:52 -05:00
Rich MegginsonandRichard Megginson ebf671b9a8 docs(changelog): version 1.2.4 [citest skip]
Update changelog and .README.html for version 1.2.4

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2026-01-06 10:46:33 -05:00