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>
This commit is contained in:
Rich Megginson 2026-05-20 07:50:27 -06:00 committed by Richard Megginson
parent cd58ebb508
commit 59f4ef91ee

View file

@ -2,3 +2,4 @@
---
collections:
- name: ansible.posix
version: '>=2.1.0,<2.2.0'