@ -11,13 +11,10 @@ BuildRequires: ansible-core >= 2.11.0
%bcond_with collection_artifact
%bcond_with collection_artifact
%if 0%{?fedora} || 0%{?rhel} >= 8
# This is to avoid ansible-test errors like
%bcond_without html
# ERROR: lsr_role2coll_extra_script-vpn:1:1: unexpected non-module shebang: b'#!/usr/bin/bash'
%else
# we use /usr/bin/env bash in all of our scripts - we don't want rpm to fix them
# pandoc is not supported in rhel 7 and older,
%undefine __brp_mangle_shebangs
# which is needed for converting .md to .html.
%bcond_with html
%endif
%if 0%{?rhel}
%if 0%{?rhel}
Name: rhel-system-roles
Name: rhel-system-roles
@ -26,8 +23,8 @@ Name: linux-system-roles
%endif
%endif
Url: https://github.com/linux-system-roles
Url: https://github.com/linux-system-roles
Summary: Set of interfaces for unified system management
Summary: Set of interfaces for unified system management
Version: 1.22.0
Version: 1.88.9
Release: 2 %{?dist}
Release: 0.1 %{?dist}
License: GPLv3+ and MIT and BSD and Python
License: GPLv3+ and MIT and BSD and Python
%global _pkglicensedir %{_licensedir}/%{name}
%global _pkglicensedir %{_licensedir}/%{name}
@ -41,6 +38,9 @@ License: GPLv3+ and MIT and BSD and Python
%endif
%endif
%global collection_version %{version}
%global collection_version %{version}
# this is where we stage the collection files for building
%global collection_dest_path .collections
%global collection_build_path %{collection_dest_path}/ansible_collections/%{collection_namespace}/%{collection_name}
# be compatible with the usual Fedora Provides:
# be compatible with the usual Fedora Provides:
Provides: ansible-collection-%{collection_namespace}-%{collection_name} = %{collection_version}-%{release}
Provides: ansible-collection-%{collection_namespace}-%{collection_name} = %{collection_version}-%{release}
@ -86,92 +86,107 @@ Requires: (ansible-core >= 2.11.0 or ansible >= 2.9.0)
%%global rolestodir %%{?rolestodir} %%{roletodir%{1}}
%%global rolestodir %%{?rolestodir} %%{roletodir%{1}}
}
}
%global mainid e010c878833e363195dd707d1334ff48a254b092
%global mainid 1.88.9
Source: %{url}/auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz
Source: %{url}/auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz
# BEGIN AUTOGENERATED SOURCES
# BEGIN AUTOGENERATED SOURCES
%global rolename1 postfix
%global rolename1 postfix
%deftag 1 1.3.8
%deftag 1 1.5.1
%global rolename2 selinux
%global rolename2 selinux
%deftag 2 1.6.1
%deftag 2 1.8.0
%global rolename3 timesync
%global rolename3 timesync
%deftag 3 1.7.6
%deftag 3 1.9.0
%global rolename4 kdump
%global rolename4 kdump
%deftag 4 1.3.6
%deftag 4 1.4.7
%global rolename5 network
%global rolename5 network
%deftag 5 1.13.1
%deftag 5 1.16.4
%global rolename6 storage
%global rolename6 storage
%deftag 6 1.12.3
%deftag 6 1.18.7
%global rolename7 metrics
%global rolename7 metrics
%deftag 7 1.8 .6
%deftag 7 1.10 .6
%global rolename8 tlog
%global rolename8 tlog
%deftag 8 1.2.1 6
%deftag 8 1.3. 6
%global rolename9 kernel_settings
%global rolename9 kernel_settings
%deftag 9 1.1.17
%deftag 9 1.3.2
%global rolename10 logging
%global rolename10 logging
%deftag 10 1.11.9
%deftag 10 1.13.4
%global rolename11 nbde_server
%global rolename11 nbde_server
%deftag 11 1.3.8
%deftag 11 1.4.7
%global rolename12 nbde_client
%global rolename12 nbde_client
%deftag 12 1.2.14
%deftag 12 1.3.0
%global rolename13 certificate
%global rolename13 certificate
%deftag 13 1.2.1
%deftag 13 1.3.6
%global rolename14 crypto_policies
%global rolename14 crypto_policies
%deftag 14 1.2.11
%deftag 14 1.4.0
%global forgeorg15 https://github.com/willshersystems
%global forgeorg15 https://github.com/willshersystems
%global repo15 ansible-sshd
%global repo15 ansible-sshd
%global rolename15 sshd
%global rolename15 sshd
%deftag 15 v0.19 .0
%deftag 15 v0.25 .0
%global rolename16 ssh
%global rolename16 ssh
%deftag 16 1.2.1
%deftag 16 1.5.0
%global rolename17 ha_cluster
%global rolename17 ha_cluster
%deftag 17 1.10.0
%deftag 17 1.19.2
%global rolename18 vpn
%global rolename18 vpn
%deftag 18 1.5.8
%deftag 18 1.6.6
%global rolename19 firewall
%global rolename19 firewall
%deftag 19 1.6.3
%deftag 19 1.8.0
%global rolename20 cockpit
%global rolename20 cockpit
%deftag 20 1.4.7
%deftag 20 1.5.10
%global rolename21 podman
%global rolename21 podman
%deftag 21 1.3.2
%deftag 21 1.6.4
%global rolename22 ad_integration
%global rolename22 ad_integration
%deftag 22 1.1.3
%deftag 22 1.4.6
%global rolename23 rhc
%global rolename23 rhc
%deftag 23 1.2.4
%deftag 23 1.6.6
%global rolename24 journald
%global rolename24 journald
%deftag 24 1.0.5
%deftag 24 1.3.3
%global rolename25 postgresql
%global rolename25 postgresql
%deftag 25 1.1.0
%deftag 25 1.3.8
%global rolename26 systemd
%global rolename26 systemd
%deftag 26 1.0.1
%deftag 26 1.2.0
%global rolename27 keylime_server
%global rolename27 keylime_server
%deftag 27 1.0.0
%deftag 27 1.1.5
%global rolename28 fapolicyd
%deftag 28 1.1.7
%global rolename29 bootloader
%deftag 29 1.0.7
%global rolename30 snapshot
%deftag 30 1.4.1
%global rolename31 gfs2
%deftag 31 1.0.0
%global rolename32 sudo
%deftag 32 1.1.0
Source1: %{archiveurl1}
Source1: %{archiveurl1}
Source2: %{archiveurl2}
Source2: %{archiveurl2}
@ -200,6 +215,11 @@ Source24: %{archiveurl24}
Source25: %{archiveurl25}
Source25: %{archiveurl25}
Source26: %{archiveurl26}
Source26: %{archiveurl26}
Source27: %{archiveurl27}
Source27: %{archiveurl27}
Source28: %{archiveurl28}
Source29: %{archiveurl29}
Source30: %{archiveurl30}
Source31: %{archiveurl31}
Source32: %{archiveurl32}
# END AUTOGENERATED SOURCES
# END AUTOGENERATED SOURCES
# Includes with definitions/tags that differ between RHEL and Fedora
# Includes with definitions/tags that differ between RHEL and Fedora
@ -217,21 +237,8 @@ Source1004: vendoring-build.inc
Source995: CHANGELOG.md
Source995: CHANGELOG.md
Patch2201: 0001-fix-use-command-stdin-for-password-and-do-not-log-pa.patch
BuildArch: noarch
BuildArch: noarch
%if %{with html}
# Requirements for md2html.sh to build the documentation
%if 0%{?fedora} || 0%{?rhel} >= 9
BuildRequires: rubygem-kramdown-parser-gfm
%else
BuildRequires: pandoc
BuildRequires: asciidoc
BuildRequires: highlight
%endif
%endif
# Requirements for galaxy_transform.py
# Requirements for galaxy_transform.py
BuildRequires: python3
BuildRequires: python3
BuildRequires: python%{python3_pkgversion}-ruamel-yaml
BuildRequires: python%{python3_pkgversion}-ruamel-yaml
@ -278,7 +285,7 @@ end
%prep
%prep
# BEGIN AUTOGENERATED SETUP
# BEGIN AUTOGENERATED SETUP
%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -n %{getarchivedir 0}
%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 -a31 -a32 - n %{getarchivedir 0}
# END AUTOGENERATED SETUP
# END AUTOGENERATED SETUP
# vendoring prep steps, if any
# vendoring prep steps, if any
@ -297,6 +304,8 @@ for rolename in %{rolenames}; do
fi
fi
fi
fi
mv "$dir_from_archive" ${rolename}
mv "$dir_from_archive" ${rolename}
# Move a hidden .README.html to a not hidden README.html
mv $rolename/.README.html $rolename/README.html
done
done
%if 0%{?rhel}
%if 0%{?rhel}
@ -314,7 +323,7 @@ find -P tests examples -name \*.yml | while read file; do
-e "s/ansible-sshd/linux-system-roles.sshd/" \
-e "s/ansible-sshd/linux-system-roles.sshd/" \
-e "s/ willshersystems.sshd/ linux-system-roles.sshd/" "$file"
-e "s/ willshersystems.sshd/ linux-system-roles.sshd/" "$file"
done
done
sed -r -i -e "s/ willshersystems.sshd/ linux-system-roles.sshd/" README.md
sed -r -i -e "s/ willshersystems.sshd/ linux-system-roles.sshd/" README.md README.html
sed -r -i -e 's/min_ansible_version: 2.8/min_ansible_version: "2.9"/' meta/main.yml
sed -r -i -e 's/min_ansible_version: 2.8/min_ansible_version: "2.9"/' meta/main.yml
cd ..
cd ..
@ -331,10 +340,6 @@ if [ "$rolesdir" != "$realrolesdir" ]; then
fi
fi
cd ..
cd ..
cd %{rolename22}
%patch2201 -p1
cd ..
# vendoring build steps, if any
# vendoring build steps, if any
%include %{SOURCE1004}
%include %{SOURCE1004}
@ -355,45 +360,55 @@ rm %{rolename5}/tests/playbooks/roles
# when python2 is default python.
# when python2 is default python.
rm %{rolename5}/scripts/print_all_options.py
rm %{rolename5}/scripts/print_all_options.py
rm %{rolename5}/tests/ensure_provider_tests.py
rm %{rolename5}/tests/ensure_provider_tests.py
# Drop storage tests/scripts
rm -rf %{rolename6}/tests/scripts
# fix system_roles fingerprint in "external" roles
# fix system_roles fingerprint in "external" roles
python3 lsr_fingerprint.py
python3 lsr_fingerprint.py
# transform ambiguous #!/usr/bin/env python shebangs to python3 to stop brp-mangle-shebangs complaining
find -type f -executable -name '*.py' -exec \
sed -i -r -e '1s@^(#! */usr/bin/env python)(\s|$)@#\13\2@' '{}' +
%build
%build
# remove upstream-only documentation - for example, documentation
# remove upstream-only documentation - for example, documentation
# about collection dependencies is not needed in Fedora and EL RPMs
# about collection dependencies is not needed in Fedora and EL RPMs
# since the dependencies are already provided
# since the dependencies are already provided
sed -e '/^# # Requirements/,/^#/s/^See below$/None/' \
sed -e '/# Requirements/,/^#/s/^See below$/None/' \
-e '/^## # Collection requirements/,/^#/ {/^## # Collection/d;/^#/!d}' \
-e '/# Collection requirements/,/^#/ {/# Collection requirements /d;/^#/!d}' \
-i */README.md
-i */README.md
sed -e '/id="requirements">Requirements<\/h/,/^<h/s/See below/None/' \
-e '/id="collection-requirements">/,/^<h/ {/id="collection-requirements">/d;/^<h/!d}' \
-i */README.html
for role in %{rolenames}; do
# awk: Remove collection-requirements from README.html TOC
# 1. If match found, add the line and -2,+1 lines' line number in an array "d".
# 2. Save all lines in an array with line number as index
# 3. Print only those index not in array "d"
awk '/id="toc-collection-requirements">/{for(x=NR-2;x<=NR+1;x++)d[x];} \
{a[NR]=$0} \
END{for(i=1;i<=NR;i++)if(!(i in d))print a[i]}' \
$role/README.html > $role/README.html.tmp
mv $role/README.html.tmp $role/README.html
done
# sshd README is not in the same format
# sshd README is not in the same format
sed -e '/^### Optional requirements/,/^Role variables/ {/^### Optional/d;/^Role variables/!d}' \
sed -e '/# Optional requirements/,/# Role variables/ {/# Optional/d;/# Role variables/!d}' \
-i sshd/README.md
-i sshd/README.md
sed -e '/id="optional-requirements">/,/^<h/ {/id="optional-requirements">/d;/^<h/!d}' \
-i sshd/README.html
# Remove optional-requirements from README.html TOC
awk '/id="toc-optional-requirements">/{for(x=NR-2;x<=NR+1;x++)d[x];} \
{a[NR]=$0} \
END{for(i=1;i<=NR;i++)if(!(i in d))print a[i]}' \
sshd/README.html > sshd/README.html.tml
mv sshd/README.html.tml sshd/README.html
%if %{with html}
# HACK HACK HACK
# pandoc/asciidoc on rhel 8.9 does not like the journald README badge links
# remove all of the badge links from all README.md files
# in the first 14 lines of the file, remove any line that looks like a
# github action badge
# HACK HACK HACK
readmes=""
matchstr="actions/workflows/"
matchstr="actions/workflows/"
for role in %{rolenames}; do
for role in %{rolenames}; do
# in the first 14 lines of README.md, remove any line that looks like a
# github action badge. README.html doesn't have these lines.
sed -e "1,14 {\\,${matchstr},d; /\!\[/d}" -i $role/README.md
sed -e "1,14 {\\,${matchstr},d; /\!\[/d}" -i $role/README.md
readmes="${readmes} $role/README.md"
done
done
sh md2html.sh $readmes
%endif
mkdir .collections
if [ ! -d %{collection_dest_path} ]; then
mkdir %{collection_dest_path}
fi
%if 0%{?rhel}
%if 0%{?rhel}
# Convert the upstream collection readme to the downstream one
# Convert the upstream collection readme to the downstream one
%{SOURCE998} lsr_role2collection/collection_readme.md
%{SOURCE998} lsr_role2collection/collection_readme.md
@ -402,7 +417,7 @@ mkdir .collections
"https://linux-system-roles.github.io" \
"https://linux-system-roles.github.io" \
"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/administration_and_configuration_tasks_using_system_roles_in_rhel" \
"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/administration_and_configuration_tasks_using_system_roles_in_rhel" \
"https://access.redhat.com/articles/3050101" \
"https://access.redhat.com/articles/3050101" \
"https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%208&component=rhel-system-roles " \
"https://issues.redhat.com/secure/CreateIssueDetails!init.jspa?pid=12332745&summary=Your%20request%20summary&issuetype=1&priority=10200&labels=Partner-Feature-Request&components=12380283 " \
> galaxy.yml.tmp
> galaxy.yml.tmp
# we vendor-in all of the dependencies on rhel, so remove them
# we vendor-in all of the dependencies on rhel, so remove them
rm -f lsr_role2collection/collection_requirements.txt
rm -f lsr_role2collection/collection_requirements.txt
@ -431,38 +446,43 @@ extra_mapping="--extra-mapping fedora.linux_system_roles:%{collection_namespace}
extra_mapping=""
extra_mapping=""
%endif
%endif
LANG=C.utf-8 LC_ALL=C.utf-8 %{python3} release_collection.py --galaxy-yml galaxy.yml \
LANG=C.utf-8 LC_ALL=C.utf-8 %{python3} release_collection.py --galaxy-yml galaxy.yml \
--src-path $(pwd) --dest-path $(pwd)/.collections $includes --force --no-update \
--src-path $(pwd) --dest-path $(pwd)/%{collection_dest_path} $includes --keep --no-update \
--src-owner %{name} --skip-git --skip-check --skip-changelog $extra_mapping --debug
--src-owner %{name} --skip-git --skip-check --skip-changelog $extra_mapping --debug
# Remove table of contents from logging README.md
# It is not needed for html and AH/Galaxy
sed -i -e 's/^\(## Table of Contents\)/## Background\n\1/' \
.collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/logging/README.md
sed -i -e '/^## Table of Contents/,/^## Background/d' \
.collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/logging/README.md
# Remove internal links from readme files
# Remove internal links from readme files
# They are not rendered properly on AH.
# They are not rendered properly on AH.
for role in %{rolenames}; do
for role in %{rolenames}; do
sed -r -i -e 's/\[([^[]+)\]\(#[^)]+\)/\1/g' \
sed -r -i -e 's/\[([^[]+)\]\(#[^)]+\)/\1/g' \
.collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/$role/README.md
%{collection_build_path}/roles/$role/README.md
done
# we have removed some files - ensure that the ignore files refer only to
# existing files
for ignore_file in %{collection_build_path}/tests/sanity/ignore-*.txt; do
cp "$ignore_file" "$ignore_file.tmp"
while read -r file rest; do
if [ ! -f "%{collection_build_path}/$file" ]; then
sed "\,^${file} ,d" -i "$ignore_file"
fi
done < "$ignore_file.tmp"
rm "$ignore_file.tmp"
done
done
# Remove test only collection dependencies
# Remove test only collection dependencies
# NOTE: These should not be in meta/collection-requirements.yml, they should be
# NOTE: These should not be in meta/collection-requirements.yml, they should be
# in tests/collection-requirements.yml, but they can't be moved yet
# in tests/collection-requirements.yml, but they can't be moved yet
sed -i -e '/community[.]mysql:/d' -e '/community[.]postgresql:/d' \
sed -i -e '/community[.]mysql:/d' -e '/community[.]postgresql:/d' \
.collections/ansible_collections/%{collection_namespace}/%{collection_name}/galaxy.yml
%{collection_build_path }/galaxy.yml
cp %{SOURCE995} \
cp %{SOURCE995} \
.collections/ansible_collections/%{collection_namespace}/%{collection_name}/docs/CHANGELOG.md
%{collection_build_path }/docs/CHANGELOG.md
%if 0%{?rhel}
%if 0%{?rhel}
cp %{SOURCE996} \
cp %{SOURCE996} \
.collections/ansible_collections/%{collection_namespace}/%{collection_name }/CHANGELOG.rst
%{collection_build_path }/CHANGELOG.rst
%endif
%endif
# Build the collection
# Build the collection
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
pushd %{collection_build_path}
%ansible_collection_build
%ansible_collection_build
popd
popd
@ -489,10 +509,8 @@ for role in %{rolenames}; do
"%{buildroot}%{_pkgdocdir}/$role"
"%{buildroot}%{_pkgdocdir}/$role"
ln -sr "%{buildroot}%{ansible_roles_dir}/%{roleinstprefix}$role/README.md" \
ln -sr "%{buildroot}%{ansible_roles_dir}/%{roleinstprefix}$role/README.md" \
"%{buildroot}%{_pkgdocdir}/$role"
"%{buildroot}%{_pkgdocdir}/$role"
%if %{with html}
ln -sr "%{buildroot}%{ansible_roles_dir}/%{roleinstprefix}$role/README.html" \
ln -sr "%{buildroot}%{ansible_roles_dir}/%{roleinstprefix}$role/README.html" \
"%{buildroot}%{_pkgdocdir}/$role"
"%{buildroot}%{_pkgdocdir}/$role"
%endif
if [ -f "%{buildroot}%{ansible_roles_dir}/%{roleinstprefix}$role/COPYING" ]; then
if [ -f "%{buildroot}%{ansible_roles_dir}/%{roleinstprefix}$role/COPYING" ]; then
ln -sr "%{buildroot}%{ansible_roles_dir}/%{roleinstprefix}$role/COPYING" \
ln -sr "%{buildroot}%{ansible_roles_dir}/%{roleinstprefix}$role/COPYING" \
"%{buildroot}%{_pkglicensedir}/$role.COPYING"
"%{buildroot}%{_pkglicensedir}/$role.COPYING"
@ -532,7 +550,13 @@ done
rm -f %{buildroot}%{ansible_roles_dir}/%{roleinstprefix}*/semaphore
rm -f %{buildroot}%{ansible_roles_dir}/%{roleinstprefix}*/semaphore
rm -r %{buildroot}%{ansible_roles_dir}/%{roleinstprefix}*/molecule
rm -r %{buildroot}%{ansible_roles_dir}/%{roleinstprefix}*/molecule
rm -r %{buildroot}%{ansible_roles_dir}/%{roleinstprefix}*/.[A-Za-z]*
# remove .dot files/directories, but keep the .ostree directory
for item in %{buildroot}%{ansible_roles_dir}/%{roleinstprefix}*/.[A-Za-z]*; do
if [ "$(basename "$item")" = .ostree ]; then
continue
fi
rm -r "$item"
done
rm %{buildroot}%{ansible_roles_dir}/%{roleinstprefix}*/tests/.git*
rm %{buildroot}%{ansible_roles_dir}/%{roleinstprefix}*/tests/.git*
# NOTE: sshd/examples/example-root-login.yml is
# NOTE: sshd/examples/example-root-login.yml is
@ -540,7 +564,7 @@ rm %{buildroot}%{ansible_roles_dir}/%{roleinstprefix}*/tests/.git*
# must be updated if changing the file path
# must be updated if changing the file path
# Install the collection
# Install the collection
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
pushd %{collection_build_path}
%ansible_collection_install
%ansible_collection_install
popd
popd
@ -551,7 +575,7 @@ ln -sr %{buildroot}%{ansible_collection_files}%{collection_name}/README.md \
%{buildroot}%{_pkgdocdir}/collection
%{buildroot}%{_pkgdocdir}/collection
for rolename in %{rolenames}; do
for rolename in %{rolenames}; do
for file in CHANGELOG.md README.md; do
for file in CHANGELOG.md README.md README.html ; do
if [ -f %{buildroot}%{ansible_collection_files}%{collection_name}/roles/${rolename}/$file ]; then
if [ -f %{buildroot}%{ansible_collection_files}%{collection_name}/roles/${rolename}/$file ]; then
if [ ! -d %{buildroot}%{_pkgdocdir}/collection/roles/${rolename} ]; then
if [ ! -d %{buildroot}%{_pkgdocdir}/collection/roles/${rolename} ]; then
mkdir -p %{buildroot}%{_pkgdocdir}/collection/roles/${rolename}
mkdir -p %{buildroot}%{_pkgdocdir}/collection/roles/${rolename}
@ -562,18 +586,9 @@ for rolename in %{rolenames}; do
done
done
done
done
%if %{with html}
# converting README.md to README.html for collection in %%{buildroot}%%{_pkgdocdir}/collection
readmes="%{buildroot}%{_pkgdocdir}/collection/README.md"
for role in %{rolenames}; do
readmes="${readmes} %{buildroot}%{_pkgdocdir}/collection/roles/${role}/README.md"
done
sh md2html.sh $readmes
%endif
%if %{with collection_artifact}
%if %{with collection_artifact}
# Copy collection artifact to /usr/share/ansible/collections/ for collection-artifact
# Copy collection artifact to /usr/share/ansible/collections/ for collection-artifact
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
pushd %{collection_build_path}
mv %{collection_namespace}-%{collection_name}-%{version}.tar.gz \
mv %{collection_namespace}-%{collection_name}-%{version}.tar.gz \
%{buildroot}%{_datadir}/ansible/collections/
%{buildroot}%{_datadir}/ansible/collections/
popd
popd
@ -672,6 +687,277 @@ find %{buildroot}%{ansible_roles_dir} -mindepth 1 -maxdepth 1 | \
%endif
%endif
%changelog
%changelog
* Fri Sep 13 2024 Rich Megginson <rmeggins@redhat.com> - 1.88.9-0.1
- Resolves: RHEL-56626 : podman - fails to configure and run containers with podman rootless using different username and groupname
- logging - test issue with imuxsock and loginctl used by podman - restart systemd-logind to fix podman tests
- updates collection README for new Automation Hub format
* Wed Sep 11 2024 Rich Megginson <rmeggins@redhat.com> - 1.88.8-0.1
- Resolves: RHEL-56626 : podman - fails to configure and run containers with podman rootless using different username and groupname
- podman - previous fix broke ansible 2.9 + el8 with volume cleanup
- logging - test issue with imuxsock and journald - restart dbus-broker
* Wed Sep 4 2024 Rich Megginson <rmeggins@redhat.com> - 1.88.7-0.2
- Resolves: RHEL-56626 : podman - fails to configure and run containers with podman rootless using different username and groupname
- fapolicyd - fix method used to read from journald to determine when daemon is listening
- storage - fix tests to use blkid instead of lsblk to get partition table
- storage - skip stratis tests on el8
- logging - tests_combination.yml needs fact gathering
- same as 1.88.7-0.1 but needed to bump N-V-R and rebuild for exception
* Wed Sep 4 2024 Rich Megginson <rmeggins@redhat.com> - 1.88.7-0.1
- Resolves: RHEL-56626 : podman - fails to configure and run containers with podman rootless using different username and groupname
- fapolicyd - fix method used to read from journald to determine when daemon is listening
- storage - fix tests to use blkid instead of lsblk to get partition table
- storage - skip stratis tests on el8
- logging - tests_combination.yml needs fact gathering
* Mon Aug 26 2024 Rich Megginson <rmeggins@redhat.com> - 1.88.4-0.1
- Resolves: RHEL-53896 : kernel_settings - fix: Use tuned files instead of using it as a module
- recent tuned in el9 changed the profile directory back to the old one
- so had to change the role to detect directory
* Thu Aug 22 2024 Rich Megginson <rmeggins@redhat.com> - 1.88.3-0.1
- Resolves: RHEL-34214 : gfs2 - New Role
- no el10, aarch64 support for gfs2
- network role docs
* Wed Aug 21 2024 Rich Megginson <rmeggins@redhat.com> - 1.88.2-0.1
- Resolves: RHEL-55295 : ha_cluster - Fixes for new pcs and ansible
- several fixes for ostree issues
* Tue Aug 20 2024 Rich Megginson <rmeggins@redhat.com> - 1.88.0-0.1
- Resolves: RHEL-55295 : ha_cluster - Fixes for new pcs and ansible
- fix gather_facts issue with fapolicyd
- fix gather_facts issue with ha_cluster
- fix bond test firewall issue with network
* Mon Aug 19 2024 Rich Megginson <rmeggins@redhat.com> - 1.87.2-0.1
- Resolves: RHEL-50825 : System Roles: No module documentation
- Fix storage role tests_lvm_pool_pv_grow issue with pvcreate hang on el7
- podman - skip quadlet tests on non-x86_64 arch
- journald - fix the test pattern that looks for the max size
- network - fix the bond tests issue with firewall
- sshd - add new parameters for openssh 9.8
* Fri Aug 16 2024 Rich Megginson <rmeggins@redhat.com> - 1.87.1-0.1
- Resolves: RHEL-30888 : storage - Fingerprint storage RHEL System Role managed config files
- s390x issue fix requires fix for architecture fact
* Fri Aug 16 2024 Rich Megginson <rmeggins@redhat.com> - 1.87.0-0.1
- Resolves: RHEL-48227 : snapshot - feat: rewrite snapshot.py as an Ansible module / add support for thin origins
- some test fixes in snapshot, network
* Fri Aug 9 2024 Rich Megginson <rmeggins@redhat.com> - 1.86.0-0.1
- Resolves: RHEL-53896 : kernel_settings - fix: Use tuned files instead of using it as a module
- Resolves: RHEL-3252 : network - support route src parameter
- Resolves: RHEL-53902 : rhc - fix: drop usage of "auto_attach" of the "redhat_subscription" module
* Thu Aug 1 2024 Rich Megginson <rmeggins@redhat.com> - 1.85.0-0.1
- Resolves: RHEL-49596 : ha_cluster - alerts support
- other fixes for el10 support
- add timesync_provider.sh side car doc for Automation Hub rendering issue
* Tue Jul 23 2024 Rich Megginson <rmeggins@redhat.com> - 1.84.1-0.1
- Resolves: RHEL-46590 : logging - RFE - system-roles - logging: Add truncate options for local file inputs
- Resolves: RHEL-40273 : logging - redhat.rhel_system_roles.logging role fails to process logging_outputs: of type: "custom"
- Resolves: RHEL-34935 : logging - [RFE] Add the umask settings or enable a variable in linux-system-roles.logging
- Resolves: RHEL-50102 : podman - fix: proper cleanup for networks; ensure cleanup of resources
- Resolves: RHEL-30888 : storage - Fingerprint storage RHEL System Role managed config files
* Mon Jul 15 2024 Rich Megginson <rmeggins@redhat.com> - 1.83.0-0.1
- Resolves: RHEL-46854 : postfix - feat: Added postfix_files feature as a simple means to add extra files/maps to config
- Resolves: RHEL-48227 : snapshot - feat: rewrite snapshot.py as an Ansible module / add support for thin origins
* Tue Jul 02 2024 Rich Megginson <rmeggins@redhat.com> - 1.82.0-0.1
- Resolves: RHEL-41090 : cockpit - cockpit install all wildcard match does not work in newer el9
- Resolves: RHEL-45717 : nbde_client - feat: Allow initrd configuration to be skipped
- Implements meta/main.yml el10 support in most roles
* Wed Jun 12 2024 Rich Megginson <rmeggins@redhat.com> - 1.79.0-0.3
- add patch for https://github.com/containers/ansible-podman-collections/pull/784
this is blocking gating tests
* Tue Jun 11 2024 Rich Megginson <rmeggins@redhat.com> - 1.79.0-0.2
- Resolves: RHEL-39996 : bootloader - Set user.cfg path to /boot/grub2/ on EL 9 UEFI
- Resolves: RHEL-35561 : logging - Setup imuxsock using rhel-system-roles.logging causing an error
fix test
- Resolves: RHEL-40761 : podman - fix: grab name of network to remove from quadlet file
- Resolves: RHEL-39438 : podman - Create podman secret when skip_existing=True and it does not exist
- Resolves: RHEL-40180 : ssh - Add new configuration options and remove false positives in the test
- Resolves: RHEL-31854 : storage - [RFE] manage stratis
- Resolves: RHEL-25777 : storage - rhel-system-role.storage is not idempotent
- Resolves: RHEL-14862 : storage - [RHEL9][RFE] resize LVM PVs
- Resolves: RHEL-25994 : storage - var unused_disks get different sector size disks
* Tue May 21 2024 Sergei Petrosian <spetrosi@redhat.com> - 1.79.0-0.1
- Resolves: RHEL-35561 : logging - Setup imuxsock using rhel-system-roles.logging causing an error
- Resolves: RHEL-37549 : sudo - Add sudo system role
* Thu Apr 25 2024 Rich Megginson <rmeggins@redhat.com> - 1.78.1-0.1
- fix some issues with ansible-test
- Resolves: RHEL-34214 : gfs2 - New Role
* Mon Apr 22 2024 Rich Megginson <rmeggins@redhat.com> - 1.77.0-0.1
- Resolves: RHEL-18075 : - package rhel-system-roles.noarch does not provide docs for ansible-doc
- Resolves: RHEL-33532 : ha_cluster - [RFE] rhel_system_roles.ha_cluster - Utilization Support
- Resolves: RHEL-33076 : ha_cluster - Fix inconsistent approach for multiple `attributes.attrs` in `ha_cluster_node_options`
- Resolves: RHEL-32872 : network - Fix testing Failures due to connection.autoconnect-ports Unknown Property
- Resolves: RHEL-33547 : podman - feat: manage TLS cert/key files for registry connections and validate certs
- Resolves: RHEL-30185 : podman - podman role should support default credentials and per-unit credentials
- Resolves: RHEL-30183 : podman - podman role should support containers-auth.json
- Resolves: RHEL-25777 : storage - rhel-system-role.storage is not idempotent
* Mon Apr 15 2024 Rich Megginson <rmeggins@redhat.com> - 1.76.2-0.1
- Fix ansible-test issues
Ensure "WARNING: " is quoted in description string
Package doc_fragments for vendored modules
Fix wrong collection deprecation error
undefine __brp_mangle_shebangs because ansible-test does not like shebangs in executable files
ensure that any files removed during the build/install process are also removed
from ignore files
- Resolves: RHEL-28658 : ad_integration - fix: Sets domain name lower case in realmd.conf section header
- Resolves: RHEL-26714 : bootloader - bootloader role tests do not work on ostree
- Resolves: RHEL-30111 : ha_cluster - [RFE] ha_cluster_node_options allows per-node addresses and SBD options to be set
- Resolves: RHEL-27186 : ha_cluster - [RFE] make it easier to install cloud agents
- Resolves: RHEL-17271 : ha_cluster - [RFE] rhel_system_roles.ha_cluster - ACL Support
- Resolves: RHEL-30170 : journald - feat: Add options for rate limit interval and burst
- Resolves: RHEL-25264 : network - Make sure that the network role CI is solid robust
- Resolves: RHEL-32464 : podman - fix: do not use become for changing hostdir ownership, and expose subuid/subgid info
- Resolves: RHEL-32382 : podman - fix: use correct user for cancel linger file name
- Resolves: RHEL-30185 : podman - podman role should support default credentials and per-unit credentials
- Resolves: RHEL-29309 : sshd - second SSHD service broken
- Resolves: RHEL-30959 : storage - [RHEL9] storage role resize volume failed
- Resolves: RHEL-29874 : storage - Running rhel-system-roles.storage w/ type: raid a second time, fails if existing RAID device has stratis installed on them.
* Mon Feb 26 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.21
- Resolves: RHEL-16336 : bootloader - Create bootloader role (MVP)
fix issue with path on arches other than x86_64, and EFI systems
- Resolves: RHEL-3253 : RHEL for Edge support in system roles
cockpit - fixed issue with test cleanup
postgresql - fixed issue with test cleanup
* Wed Feb 21 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.20
- Resolves: RHEL-16964 : rhc - new rhc_insights.display_name parameter
- Resolves: RHEL-16552 : snapshot - New Role for storage snapshot management (lvm, etc.)
fixes error handling
* Tue Feb 20 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.19
- Resolves: RHEL-16552 : snapshot - New Role for storage snapshot management (lvm, etc.)
fixes idempotency, check mode, cleanup, basic-smoke-test
* Tue Feb 20 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.18
- Resolves: RHEL-22228 : podman - user linger needed before secrets
fixed issue with ANSIBLE_GATHERING=explicit
- Resolves: RHEL-5972 : sshd - ansible-sshd Manage SSH certificates
fixed issue with RHEL7 tests
* Thu Feb 15 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.17
- Resolves: RHEL-25508 : nbde_server - fix: Allow tangd socket override directory to be managed outside of the role
- Resolves: RHEL-19579 : network - Add blackhole type route to rhel-system-roles.network
- Fixed issues with ANSIBLE_GATHERING=explicit in several roles
- Fixed test cleanup issues in several roles
* Tue Feb 13 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.16
- Resolves: RHEL-16552 : snapshot - New Role for storage snapshot management (lvm, etc.)
this is the MVP candidate for the snapshot role
* Mon Feb 12 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.15
- Resolves: RHEL-22106 : ha_cluster - Setting cluster members' attributes
* Sun Feb 11 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.14
- Resolves: RHEL-16336 : bootloader - Create bootloader role (MVP)
- Resolves: RHEL-5274 : postgresql - unable to install PostgreSQL version 15 on RHEL 9
* Fri Feb 9 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.13
- Resolves: RHEL-16974 : rhc - rhc: new rhc_insights.ansible_host parameter
Rename test playbook from .yaml to .yml
* Thu Feb 8 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.12
- Resolves: RHEL-22228 : podman - user linger needed before secrets
* Wed Jan 31 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.11
- Resolves: RHEL-5274 : postgresql - unable to install PostgreSQL version 15 on RHEL 9
- Resolves: RHEL-23497 : storage - tests_lvm_auto_size_cap_nvme_generated failed at "Assert expected size is actual size"
* Sat Jan 27 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.10
- Resolves: RHEL-1535 : storage - Basic support for creating shared logical volumes
GFS2 support in blivet is enabled
* Fri Jan 26 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.9
- Resolves: RHEL-21382 : ad_integration - feat: add ad_integration_preserve_authselect_profile
- Resolves: RHEL-21133 : ad_integration - feat: Add SSSD parameters support
- Resolves: RHEL-21117 : journald - feat: Add support for ForwardToSyslog
- Resolves: RHEL-22309 : podman - fix: cast secret data to string in order to allow JSON valued strings
- Resolves: RHEL-21401 : podman - fix: name of volume quadlet service should be basename-volume.service
- Resolves: RHEL-16974 : rhc - rhc: new rhc_insights.ansible_host parameter
* Wed Jan 24 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.8
- Resolves: RHEL-16552 : snapshot - New Role for storage snapshot management (lvm, etc.)
* Fri Jan 19 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.7
- Add ExcludeArch i686 to fix build issues with ansible-core
- Resolves: RHEL-15909 : keylime_server - won't detect registrar start failure
* Thu Jan 18 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.6
- Resolves: RHEL-21529 : storage - lvmlockd process is not running - test only
* Mon Jan 15 2024 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.5
- Resolves: RHEL-16336 : bootloader - Create bootloader role (MVP)
* Tue Dec 12 2023 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.4
- Resolves: RHEL-3253 : RHEL for Edge support in system roles
updated several roles with ostree improvements
metrics role support for ostree
- Resolves: RHEL-16541 : fapolicyd - feat: Import code for fapolicyd system role
several role improvements
- Resolves: RHEL-18026 : ha_cluster - fix: set sbd.service timeout based on SBD_START_DELAY
- Resolves: RHEL-19046 : logging - fix: avoid conf of RatelimitBurst when RatelimitInterval is zero
- Resolves: RHEL-13760 : metrics - [RFE] Metrics system role support for configuring PMIE webhooks
- Resolves: RHEL-19241 : podman - fix: add no_log: true for tasks that can log secret data
- Resolves: RHEL-18962 : postgresql - feat: enable using postgresql 16
- Resolves: RHEL-16976 : rhc - rhc: support RHEL 7 managed nodes
- Resolves: RHEL-19040 : selinux - fix: no longer use "item" as a loop variable
- Resolves: RHEL-19043 : selinux - fix: Print an error message when module to be created doesn't exist
- Resolves: RHEL-1535 : storage - Basic support for creating shared logical volumes
* Fri Dec 1 2023 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.3
- Resolves: RHEL-17875 : ha_cluster - high-availability firewall service is not added on qdevice node
* Thu Nov 30 2023 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.2
- Resolves: RHEL-3253 : RHEL for Edge support in system roles
vpn - fixed issue with test cleanup
* Thu Nov 30 2023 Rich Megginson <rmeggins@redhat.com> - 1.23.0-2.1
- Resolves: RHEL-3253 : RHEL for Edge support in system roles
except for nbde_client, rhc, and metrics
- Resolves: RHEL-17668 : ad_integration - feat: Add sssd custom settings
- Resolves: RHEL-16541 : fapolicyd - feat: Import code for fapolicyd system role
- Resolves: RHEL-15910 : ha_cluster - [RFE] HA Cluster system role should be able to enable Resilient Storage repository
- Resolves: RHEL-15908 : ha_cluster - [FutureFeature] Allow ha_cluster role to configure all qdevice options
- Resolves: RHEL-15876 : ha_cluster - [FutureFeature] Allow ha_cluster role to configure fencing topology
- Resolves: RHEL-3353 : kdump - fix: retry read of kexec_crash_size
- Resolves: RHEL-15932 : logging - feat: Add support for the global config option preserveFQDN
- Resolves: RHEL-15439 : logging - feat: Add support for general queue and general action parameters
- Resolves: RHEL-15037 : logging - fix: check that logging_max_message_size is set, not rsyslog_max_message_size
- Resolves: RHEL-13760 : metrics - [RFE] Metrics system role support for configuring PMIE webhooks
- Resolves: RHEL-1683 : network - Ansible RHEL network system role issue with ipv6.routing-rules the prefix length for 'from' cannot be zero"
- Resolves: RHEL-15870 : selinux - fix: Use `ignore_selinux_state` module option
- Resolves: RHEL-5972 : sshd - ansible-sshd Manage SSH certificates
- Resolves: RHEL-16212 : storage - feat: Support for creating volumes without a FS
* Thu Nov 9 2023 Sergei Petrosian <spetrosi@redhat.com> - 1.23.0-2
- RHEL-1118: ad_integration: Support for dynamic DNS Updates
Update to a new version with fixed tests
* Wed Sep 20 2023 Sergei Petrosian <spetrosi@redhat.com> - 1.23.0-1
- Resolves: RHEL-5346 spec - Remove with_html, instead use built-in .README.html
- Resolves: RHEL-5972 ansible-sshd - Manage SSH certificates
- rhbz#2223764: Remove ad_integration patch and use the latest ad_integration
version instead. Vendor community-general.ini_files for
- RHEL-1118: ad_integration: Support for dynamic DNS Updates
- Change link to open new issue in galaxy.yml from deprecated BZ to Jira
* Tue Aug 22 2023 Rich Megginson <rmeggins@redhat.com> - 1.22.0-2
* Tue Aug 22 2023 Rich Megginson <rmeggins@redhat.com> - 1.22.0-2
- Resolves:rhbz#2232758 : ad_integration - leaks credentials when in check_mode
- Resolves:rhbz#2232758 : ad_integration - leaks credentials when in check_mode
NOTE: changelog entry below has the wrong bz
NOTE: changelog entry below has the wrong bz