From cc0edf7fa2b54a1336fdad885214de5b9af163e9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 11 2022 20:10:28 +0000 Subject: import rhel-system-roles-1.20.0-1.el8 --- diff --git a/.gitignore b/.gitignore index 7db06ea..b080a56 100644 --- a/.gitignore +++ b/.gitignore @@ -1,23 +1,23 @@ SOURCES/ansible-posix-1.4.0.tar.gz -SOURCES/ansible-sshd-7349bd448ed1824a02c7c5917f98e85f5ba0d8d0.tar.gz -SOURCES/auto-maintenance-57b320b6cc51198d3f0c3888a76da9674c7e5da8.tar.gz -SOURCES/certificate-e26ce4cbc3a0b417c513cbadc08e85bf174e9bbf.tar.gz -SOURCES/cockpit-19e495deb7c0c9abe53c7eef22b81c9a1a3529cf.tar.gz -SOURCES/community-general-5.2.0.tar.gz -SOURCES/crypto_policies-c43bc0bc2bb1f0bf878caab3c14e576a9f91fdf7.tar.gz -SOURCES/firewall-4125be28fa5bc362f19afd938c2c696f7723c70b.tar.gz -SOURCES/ha_cluster-94e6096c71bf014af95df20bc97c4f7dbfae1df3.tar.gz -SOURCES/kdump-84b2b230fbffbd8a209127d75f2282ca8ffbbc45.tar.gz -SOURCES/kernel_settings-9a8967707be85eb1978e0b74bab0685504671d15.tar.gz -SOURCES/logging-5219f7afd2f500662074943d3155f7825050690f.tar.gz -SOURCES/metrics-3410a256e434fa667fede5f889c603f00383ee4b.tar.gz -SOURCES/nbde_client-1e8fd45389739762109d4a79080a41e497b39023.tar.gz -SOURCES/nbde_server-9e0729631705277734e8ca9fd02537611674d6c2.tar.gz -SOURCES/network-e694ad72c119a15fbb37f1ae0727e435fcc4a52c.tar.gz -SOURCES/postfix-63bf03c599fd4728af639413dbdeb021e78c7dac.tar.gz -SOURCES/selinux-60147750a75bee7a4884faddc3d43fcb67454ed0.tar.gz -SOURCES/ssh-663e7418a941be0c38188f96691418b647d07a44.tar.gz -SOURCES/storage-30ef2cec46950aa37e7eed4b32e78ef1405733a7.tar.gz -SOURCES/timesync-ca2282b0b08b1dec89d0497ee19c4516f2a7193b.tar.gz -SOURCES/tlog-6e1b27a9f2ae397047eb2698756b992c43acc743.tar.gz -SOURCES/vpn-01770c722107855b56499681d67fdba12a9c75cf.tar.gz +SOURCES/ansible-sshd-9766d9097a87a130d4c8abde2247aaad5c925ecf.tar.gz +SOURCES/auto-maintenance-c22eff88d40972158cd5c413b7468b4e904cc76c.tar.gz +SOURCES/certificate-1.1.6.tar.gz +SOURCES/cockpit-1.3.0.tar.gz +SOURCES/community-general-5.4.0.tar.gz +SOURCES/crypto_policies-1.2.6.tar.gz +SOURCES/firewall-1.4.0.tar.gz +SOURCES/ha_cluster-1.7.4.tar.gz +SOURCES/kdump-1.2.5.tar.gz +SOURCES/kernel_settings-1.1.10.tar.gz +SOURCES/logging-1.10.0.tar.gz +SOURCES/metrics-1.7.3.tar.gz +SOURCES/nbde_client-1.2.6.tar.gz +SOURCES/nbde_server-1.1.5.tar.gz +SOURCES/network-1.9.1.tar.gz +SOURCES/postfix-1.2.4.tar.gz +SOURCES/selinux-1.4.0.tar.gz +SOURCES/ssh-1.1.9.tar.gz +SOURCES/storage-1.9.1.tar.gz +SOURCES/timesync-1.6.9.tar.gz +SOURCES/tlog-1.2.9.tar.gz +SOURCES/vpn-1.3.5.tar.gz diff --git a/.rhel-system-roles.metadata b/.rhel-system-roles.metadata index a596dd2..9b1ba8a 100644 --- a/.rhel-system-roles.metadata +++ b/.rhel-system-roles.metadata @@ -1,23 +1,23 @@ bca451fd997be80be30f106e49f1bf550d2e609c SOURCES/ansible-posix-1.4.0.tar.gz -b6a0dfde90f68e42455ad5930baa50db84d2122b SOURCES/ansible-sshd-7349bd448ed1824a02c7c5917f98e85f5ba0d8d0.tar.gz -72cc9e3ec2967d9a9c864a0ea1df14d4ec0d0f3e SOURCES/auto-maintenance-57b320b6cc51198d3f0c3888a76da9674c7e5da8.tar.gz -82d43efb7815a78b5394e3471271635d0b26722b SOURCES/certificate-e26ce4cbc3a0b417c513cbadc08e85bf174e9bbf.tar.gz -027afc19f33fce7da1bb4da68e207412fb7e1e46 SOURCES/cockpit-19e495deb7c0c9abe53c7eef22b81c9a1a3529cf.tar.gz -9e424c17d5f4729cc072d184baa9103fba12989d SOURCES/community-general-5.2.0.tar.gz -865165a8faf193bfe5ed46e90c5ec489d1e7ce55 SOURCES/crypto_policies-c43bc0bc2bb1f0bf878caab3c14e576a9f91fdf7.tar.gz -1c303e847d1827fbe1efca6bb8335051d6dc7f58 SOURCES/firewall-4125be28fa5bc362f19afd938c2c696f7723c70b.tar.gz -125efe804fdd36525ffcad1f9186fee0892e3e91 SOURCES/ha_cluster-94e6096c71bf014af95df20bc97c4f7dbfae1df3.tar.gz -6fc019633f3ecc605611cea330278c23ba0105dd SOURCES/kdump-84b2b230fbffbd8a209127d75f2282ca8ffbbc45.tar.gz -2dc9779af10537b6fca537dde9bca138cd3eff0a SOURCES/kernel_settings-9a8967707be85eb1978e0b74bab0685504671d15.tar.gz -de53ceaaa1008bbe746a000b9fd1c05a612e60c7 SOURCES/logging-5219f7afd2f500662074943d3155f7825050690f.tar.gz -bd53eb879ec40a62d65bc85688c12f9d5b6552df SOURCES/metrics-3410a256e434fa667fede5f889c603f00383ee4b.tar.gz -d44d46e88462956c2f04b0e13cc6cc776a5ac3c2 SOURCES/nbde_client-1e8fd45389739762109d4a79080a41e497b39023.tar.gz -6352c4dd26ee235a1bf328361719e7dc524044df SOURCES/nbde_server-9e0729631705277734e8ca9fd02537611674d6c2.tar.gz -cf16c5375938200d8c75a88b6cebb0f9ba1eb091 SOURCES/network-e694ad72c119a15fbb37f1ae0727e435fcc4a52c.tar.gz -7f799c40209d2f1e09ff2bd21a577d9ef9d7e490 SOURCES/postfix-63bf03c599fd4728af639413dbdeb021e78c7dac.tar.gz -64483b952b91711d13924969e1b57bc56c89dd65 SOURCES/selinux-60147750a75bee7a4884faddc3d43fcb67454ed0.tar.gz -1fea386aa32b75ac933179d8e7f1ec91fd469725 SOURCES/ssh-663e7418a941be0c38188f96691418b647d07a44.tar.gz -c0cf09bd4204c4e222f80b4b59663542002da81c SOURCES/storage-30ef2cec46950aa37e7eed4b32e78ef1405733a7.tar.gz -7e30815739d157ab9d492f0e1f3a1c7b3171577b SOURCES/timesync-ca2282b0b08b1dec89d0497ee19c4516f2a7193b.tar.gz -1d5afa687d65e8796fd978f59301a0b4d82baadb SOURCES/tlog-6e1b27a9f2ae397047eb2698756b992c43acc743.tar.gz -8a670ddddca01d6e8ef534d981fd3bbd2e414e53 SOURCES/vpn-01770c722107855b56499681d67fdba12a9c75cf.tar.gz +c47e62ecf6502d952378206626ba66e456a73513 SOURCES/ansible-sshd-9766d9097a87a130d4c8abde2247aaad5c925ecf.tar.gz +453a44d1259addc4f702ea79da7b810b420e21f1 SOURCES/auto-maintenance-c22eff88d40972158cd5c413b7468b4e904cc76c.tar.gz +25e2045c8fc9d6455d7c5b0c7d32d4976ebc5178 SOURCES/certificate-1.1.6.tar.gz +77b34cce8b416fec3a50900b47cbe6b8216e3036 SOURCES/cockpit-1.3.0.tar.gz +58f117fafe36a19425b3a9bc0ba69f33e5fa81ee SOURCES/community-general-5.4.0.tar.gz +56bc0763e0b549c3499a80e95d0953ee6769136a SOURCES/crypto_policies-1.2.6.tar.gz +4ee58deb2a514edd81dbcc56508be4ca9fd49089 SOURCES/firewall-1.4.0.tar.gz +6ac7fbfa996fd4425415601d28e5b7b0790682ae SOURCES/ha_cluster-1.7.4.tar.gz +6ae0614d51db00957943fad6967674c0de88862c SOURCES/kdump-1.2.5.tar.gz +17f28f701d7842499b232a7b28daae5f51ea631b SOURCES/kernel_settings-1.1.10.tar.gz +042ba1183db4d36742a21c92111d68415c7c951a SOURCES/logging-1.10.0.tar.gz +4ebbf457b9f0d767d19b7ef322b848e5e4da50ef SOURCES/metrics-1.7.3.tar.gz +80baf489aea9052ad11c84df7a6adfca75ce7a7b SOURCES/nbde_client-1.2.6.tar.gz +2e2ad1b455da8c0a198524a08ffe16f2c954f131 SOURCES/nbde_server-1.1.5.tar.gz +cb01d5d59afdf4f514de5fda2220ea8271ecb699 SOURCES/network-1.9.1.tar.gz +4a31ac4e7d4de65c2a74cfc6f3c4ff852d5a578c SOURCES/postfix-1.2.4.tar.gz +a54aee1fa1b0ee023e4168d0abe880ad6ea64dcb SOURCES/selinux-1.4.0.tar.gz +fcdbd369bcc41df028f842e49ebff28370d3adb4 SOURCES/ssh-1.1.9.tar.gz +10b9bf8f3b16fc99d6070af6dbf82f9f889a8ff6 SOURCES/storage-1.9.1.tar.gz +c0af2701a0f8db1d721bf6df4ba257888be0fe87 SOURCES/timesync-1.6.9.tar.gz +53fd0059c1da4c42228a9c0df592a96cd5a5060f SOURCES/tlog-1.2.9.tar.gz +ec3e9a88af360861ea3ef4be92fbb6776690272d SOURCES/vpn-1.3.5.tar.gz diff --git a/SOURCES/CHANGELOG.md b/SOURCES/CHANGELOG.md new file mode 100644 index 0000000..920d9b6 --- /dev/null +++ b/SOURCES/CHANGELOG.md @@ -0,0 +1,563 @@ +Changelog +========= + +[1.20.0] - 2022-08-09 +---------------------------- + +### New Features + +- [cockpit - Add customization of port](https://bugzilla.redhat.com/show_bug.cgi?id=2115159) +- [firewall - RFE: firewall-system-role: add ability to add interface to zone by PCI device ID](https://bugzilla.redhat.com/show_bug.cgi?id=2100939) +- [firewall - support for firewall_config - gather firewall facts](https://bugzilla.redhat.com/show_bug.cgi?id=2115160) +- [logging - [RFE] Support startmsg.regex and endmsg.regex in the files inputs](https://bugzilla.redhat.com/show_bug.cgi?id=2112143) +- [selinux - Added setting of seuser and selevel for completeness](https://bugzilla.redhat.com/show_bug.cgi?id=2115162) + +### Bug Fixes + +- [nbde_client - Sets proper spacing for parameter rd.neednet=1](https://bugzilla.redhat.com/show_bug.cgi?id=2115161) +- [network - fix IPRouteUtils.get_route_tables_mapping() to accept any whitespace sequence](https://bugzilla.redhat.com/show_bug.cgi?id=2115884) +- [ssh sshd - ssh, sshd: RSAMinSize parameter definition is missing](https://bugzilla.redhat.com/show_bug.cgi?id=2109997) +- [storage - [RHEL8] [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior.](https://bugzilla.redhat.com/show_bug.cgi?id=2082391) + +[1.19.3] - 2022-07-01 +---------------------------- + +### New Features + +- [firewall - support add/modify/delete services](https://bugzilla.redhat.com/show_bug.cgi?id=2100297) +- [network - [RFE] [network] Support managing the network through nmstate schema](https://bugzilla.redhat.com/show_bug.cgi?id=2100979) +- [storage - support for adding/removing disks to/from storage pools](https://bugzilla.redhat.com/show_bug.cgi?id=2066880) +- [storage - support for attaching cache volumes to existing volumes](https://bugzilla.redhat.com/show_bug.cgi?id=2066881) + +### Bug Fixes + +- [firewall - forward_port should accept list of string or list of dict](https://bugzilla.redhat.com/show_bug.cgi?id=2101607) +- [metrics - document minimum supported redis version required by rhel-system-roles](https://bugzilla.redhat.com/show_bug.cgi?id=2100285) +- [metrics - restart pmie, pmlogger if changed, do not wait for handler](https://bugzilla.redhat.com/show_bug.cgi?id=2100298) + +[1.19.2] - 2022-06-15 +---------------------------- + +### New Features + +- [sshd - system role should be able to optionally manage /etc/ssh/sshd_config on RHEL 9](https://bugzilla.redhat.com/show_bug.cgi?id=2086935) + +### Bug Fixes + +- none + +[1.19.1] - 2022-06-13 +---------------------------- + +### New Features + +- [storage - support for creating and managing LVM thin pools/LVs](https://bugzilla.redhat.com/show_bug.cgi?id=2066876) +- [All roles should support running with gather_facts: false](https://bugzilla.redhat.com/show_bug.cgi?id=2079008) + +### Bug Fixes + +- none + +[1.19.0] - 2022-06-06 +---------------------------- + +### New Features + +- [storage - support for creating and managing LVM thin pools/LVs](https://bugzilla.redhat.com/show_bug.cgi?id=2066876) +- [firewall - state no longer required for masquerade and ICMP block inversion](https://bugzilla.redhat.com/show_bug.cgi?id=2093437) + +### Bug Fixes + +- [storage - role raid_level "striped" is not supported](https://bugzilla.redhat.com/show_bug.cgi?id=2083426) + +[1.18.0] - 2022-05-26 +---------------------------- + +### New Features + +- [firewall - [Improvement] Allow System Role to reset to default Firewalld Settings](https://bugzilla.redhat.com/show_bug.cgi?id=2043009) +- [metrics - [RFE] add an option to the metrics role to enable postfix metric collection](https://bugzilla.redhat.com/show_bug.cgi?id=2079114) +- [network - Rework the infiniband support](https://bugzilla.redhat.com/show_bug.cgi?id=2086869) +- [sshd - system role should not assume that RHEL 9 /etc/ssh/sshd_config has "Include > /etc/ssh/sshd_config.d/*.conf"](https://bugzilla.redhat.com/show_bug.cgi?id=2086934) +- [sshd - system role should be able to optionally manage /etc/ssh/sshd_config on RHEL 9](https://bugzilla.redhat.com/show_bug.cgi?id=2086935) + +### Bug Fixes + +- [storage - role cannot set mount_options for volumes](https://bugzilla.redhat.com/show_bug.cgi?id=2083378) + +[1.17.0] - 2022-04-25 +---------------------------- + +### New Features + +- [All roles should support running with gather_facts: false](https://bugzilla.redhat.com/show_bug.cgi?id=2079008) +- [ha_cluster - support advanced corosync configuration](https://bugzilla.redhat.com/show_bug.cgi?id=2065339) +- [ha_cluster - support SBD fencing](https://bugzilla.redhat.com/show_bug.cgi?id=2066868) +- [ha_cluster - add support for configuring bundle resources](https://bugzilla.redhat.com/show_bug.cgi?id=2073518) +- [logging - Logging - RFE - support template, severity and facility options](https://bugzilla.redhat.com/show_bug.cgi?id=2075116) +- [metrics - consistently use ansible_managed in configuration files managed by role [rhel-8.7.0]](https://bugzilla.redhat.com/show_bug.cgi?id=2065215) +- [metrics - [RFE] add an option to the metrics role to enable postfix metric collection](https://bugzilla.redhat.com/show_bug.cgi?id=2079114) +- [network - [RFE] Extend rhel-system-roles.network feature set to support routing rules](https://bugzilla.redhat.com/show_bug.cgi?id=1996731) +- [network - consistently use ansible_managed in configuration files managed by role [rhel-8.7.0]](https://bugzilla.redhat.com/show_bug.cgi?id=2065670) +- [postfix - consistently use ansible_managed in configuration files managed by role [rhel-8.7.0]](https://bugzilla.redhat.com/show_bug.cgi?id=2065216) +- [postfix - Postfix RHEL System Role should provide the ability to replace config and reset configuration back to default [rhel-8.7.0]](https://bugzilla.redhat.com/show_bug.cgi?id=2065218) + +### Bug Fixes + +- [firewall - Firewall system role Ansible deprecation warning related to "include"](https://bugzilla.redhat.com/show_bug.cgi?id=2078650) +- [kernel_settings - error configobj not found on RHEL 8.6 managed hosts [rhel-8.7.0]](https://bugzilla.redhat.com/show_bug.cgi?id=2060378) +- [metrics - Metrics role, with "metrics_from_mssql" option does not configure /var/lib/pcp/pmdas/mssql/mssql.conf on first run [rhel-8.7.0]](https://bugzilla.redhat.com/show_bug.cgi?id=2060377) +- [nbde_client - NBDE client system role does not support servers with static IP addresses [rhel-8.7.0]](https://bugzilla.redhat.com/show_bug.cgi?id=2071011) +- [network - bond: fix typo in supporting the infiniband ports in active-backup mode](https://bugzilla.redhat.com/show_bug.cgi?id=2064067) +- [sshd - FIPS mode detection in SSHD role is wrong](https://bugzilla.redhat.com/show_bug.cgi?id=2075338) +- [storage - RFE storage Less verbosity by default](https://bugzilla.redhat.com/show_bug.cgi?id=2056480) +- [tlog - Tlog role - Enabling session recording configuration does not work due to RHEL9 SSSD files provider default](https://bugzilla.redhat.com/show_bug.cgi?id=2072749) + +[1.16.3] - 2022-04-07 +---------------------------- + +### New Features + +- none + +### Bug Fixes + +- [tlog - Tlog role - Enabling session recording configuration does not work due to RHEL9 SSSD files provider default](https://bugzilla.redhat.com/show_bug.cgi?id=2072749) + +[1.16.2] - 2022-04-06 +---------------------------- + +### New Features + +- [nbde_client - NBDE client system role does not support servers with static IP addresses](https://bugzilla.redhat.com/show_bug.cgi?id=1985022) + +### Bug Fixes + +- none + +[1.16.1] - 2022-03-29 +---------------------------- + +### New Features + +- [nbde_client - NBDE client system role does not support servers with static IP addresses](https://bugzilla.redhat.com/show_bug.cgi?id=1985022) + +### Bug Fixes + +- none + +[1.16.0] - 2022-03-22 +---------------------------- + +### New Features + +- [network - consistently use ansible_managed in configuration files managed by role](https://bugzilla.redhat.com/show_bug.cgi?id=2057656) +- [metrics - consistently use ansible_managed in configuration files managed by role](https://bugzilla.redhat.com/show_bug.cgi?id=2057645) +- [postfix - consistently use ansible_managed in configuration files managed by role](https://bugzilla.redhat.com/show_bug.cgi?id=2057661) +- [postfix - Postfix RHEL System Role should provide the ability to replace config and reset configuration back to default](https://bugzilla.redhat.com/show_bug.cgi?id=2044657) + +### Bug Fixes + +- [network - bond: fix typo in supporting the infiniband ports in active-backup mode](https://bugzilla.redhat.com/show_bug.cgi?id=2064388) + +[1.15.1] - 2022-03-03 +---------------------------- + +### New Features + +- none + +### Bug Fixes + +- [kernel_settings - error configobj not found on RHEL 8.6 managed hosts](https://bugzilla.redhat.com/show_bug.cgi?id=2058772) +- [timesync - timesync: basic-smoke test failure in timesync/tests_ntp.yml](https://bugzilla.redhat.com/show_bug.cgi?id=2058645) + +[1.15.0] - 2022-03-01 +---------------------------- + +### New Features + +- [firewall - [RFE] - Firewall RHEL System Role should be able to set default zone](https://bugzilla.redhat.com/show_bug.cgi?id=2022458) + +### Bug Fixes + +- [metrics - Metrics role, with "metrics_from_mssql" option does not configure /var/lib/pcp/pmdas/mssql/mssql.conf on first run](https://bugzilla.redhat.com/show_bug.cgi?id=2058655) +- [firewall - ensure target changes take effect immediately](https://bugzilla.redhat.com/show_bug.cgi?id=2057172) + +[1.14.0] - 2022-02-14 +---------------------------- + +### New Features + +- [network - [RFE] Add more bonding options to rhel-system-roles.network](https://bugzilla.redhat.com/show_bug.cgi?id=2008931) +- [certificate - should consistently use ansible_managed in hook scripts](https://bugzilla.redhat.com/show_bug.cgi?id=2054364) +- [tlog - consistently use ansible_managed in configuration files managed by role](https://bugzilla.redhat.com/show_bug.cgi?id=2054363) +- [vpn - consistently use ansible_managed in configuration files managed by role](https://bugzilla.redhat.com/show_bug.cgi?id=2054365) + +### Bug Fixes + +- [ha_cluster - set permissions for haclient group](https://bugzilla.redhat.com/show_bug.cgi?id=2049747) + +[1.13.1] - 2022-02-08 +---------------------------- + +### New Features + +- none + +### Bug Fixes + +- [vpn - vpn: template error while templating string: no filter named 'vpn_ipaddr'](https://bugzilla.redhat.com/show_bug.cgi?id=2050341) +- [kdump - kdump: Unable to start service kdump: Job for kdump.service failed because the control process exited with error code.](https://bugzilla.redhat.com/show_bug.cgi?id=2052105) + +[1.13.0] - 2022-02-01 +---------------------------- + +### New Features + +- [storage - RFE: Add support for RAID volumes (lvm-only)](https://bugzilla.redhat.com/show_bug.cgi?id=2016514) +- [storage - RFE: Add support for cached volumes (lvm-only)](https://bugzilla.redhat.com/show_bug.cgi?id=2016511) +- [nbde_client - NBDE client system role does not support servers with static IP addresses](https://bugzilla.redhat.com/show_bug.cgi?id=1985022) +- [ha_cluster - [RFE] ha_cluster - Support for creating resource constraints (Location, Ordering, etc.)](https://bugzilla.redhat.com/show_bug.cgi?id=2041635) +- [network - RFE: Support Routing Tables in static routes in Network Role](https://bugzilla.redhat.com/show_bug.cgi?id=2031521) + +### Bug Fixes + +- [metrics - role can't be re-run if the Grafana admin password has been changed](https://bugzilla.redhat.com/show_bug.cgi?id=1967321) +- [network - Failure to activate connection: nm-manager-error-quark: No suitable device found for this connection](https://bugzilla.redhat.com/show_bug.cgi?id=2034908) +- [network - Set DNS search setting only for enabled IP protocols](https://bugzilla.redhat.com/show_bug.cgi?id=2041627) + +[1.12.0] - 2022-01-27 +---------------------------- + +### New Features + +- none + +### Bug Fixes + +- [logging - Logging role "logging_purge_confs" option not properly working](https://bugzilla.redhat.com/show_bug.cgi?id=2040812) +- [kernel_settings - role should use ansible_managed in its configuration file](https://bugzilla.redhat.com/show_bug.cgi?id=2047504) + +[1.11.0] - 2022-01-20 +---------------------------- + +### New Features + +- [Support ansible-core 2.11+](https://bugzilla.redhat.com/show_bug.cgi?id=2012316) +- [cockpit - Please include "cockpit" role](https://bugzilla.redhat.com/show_bug.cgi?id=2021661) +- [ssh - ssh/tests_all_options.yml: "assertion": "'StdinNull yes' in config.content | b64decode ", failure](https://bugzilla.redhat.com/show_bug.cgi?id=2029614) + +### Bug Fixes + +- [timesync - timesync: Failure related to missing ntp/ntpd package/service on RHEL-9 host](https://bugzilla.redhat.com/show_bug.cgi?id=2029463) +- [logging - role missing quotes for immark module interval value](https://bugzilla.redhat.com/show_bug.cgi?id=2021678) +- [kdump - kdump: support reboot required and reboot ok](https://bugzilla.redhat.com/show_bug.cgi?id=2029605) +- [sshd - should detect FIPS mode and handle tasks correctly in FIPS mode](https://bugzilla.redhat.com/show_bug.cgi?id=1979714) + +[1.10.0] - 2021-11-08 +---------------------------- + +### New Features + +- [cockpit - Please include "cockpit" role](https://bugzilla.redhat.com/show_bug.cgi?id=2021661) +- [firewall - Ansible Roles for RHEL Firewall](https://bugzilla.redhat.com/show_bug.cgi?id=1854988) +- [firewall - RFE: firewall-system-role: add ability to add-source](https://bugzilla.redhat.com/show_bug.cgi?id=1932678) +- [firewall - RFE: firewall-system-role: allow user defined zones](https://bugzilla.redhat.com/show_bug.cgi?id=1850768) +- [firewall - RFE: firewall-system-role: allow specifying the zone](https://bugzilla.redhat.com/show_bug.cgi?id=1850753) +- [Support ansible-core 2.11+](https://bugzilla.redhat.com/show_bug.cgi?id=2012316) +- [network - role: Allow to specify PCI address to configure profiles](https://bugzilla.redhat.com/show_bug.cgi?id=1695634) +- [network - [RFE] support wifi Enhanced Open (OWE)](https://bugzilla.redhat.com/show_bug.cgi?id=1993379) +- [network - [RFE] support WPA3 Simultaneous Authentication of Equals(SAE)](https://bugzilla.redhat.com/show_bug.cgi?id=1993311) +- [network - [Network] RFE: Support ignoring default gateway retrieved by DHCP/IPv6-RA](https://bugzilla.redhat.com/show_bug.cgi?id=1897565) +- [logging - [RFE] logging - Add user and password](https://bugzilla.redhat.com/show_bug.cgi?id=2010327) + +### Bug Fixes + +- [Replace `# {{ ansible_managed }}` with `{{ ansible_managed | comment }}`](https://bugzilla.redhat.com/show_bug.cgi?id=2006230) +- [logging - role missing quotes for immark module interval value](https://bugzilla.redhat.com/show_bug.cgi?id=2021678) +- [logging - Logging - Performance improvement](https://bugzilla.redhat.com/show_bug.cgi?id=2005727) +- [nbde_client - add regenerate-all to the dracut command](https://bugzilla.redhat.com/show_bug.cgi?id=2021682) +- [certificate - certificates: "group" option keeps certificates inaccessible to the group](https://bugzilla.redhat.com/show_bug.cgi?id=2021683) + +[1.7.3] - 2021-08-26 +---------------------------- + +### New Features + +- [storage - RFE: Request that VDO be added to the Ansible (redhat-system-roles)](https://bugzilla.redhat.com/show_bug.cgi?id=1978488) + +### Bug Fixes + +- none + +[1.7.2] - 2021-08-24 +---------------------------- + +### New Features + +- none + +### Bug Fixes + +- [logging - Update the certificates copy tasks](https://bugzilla.redhat.com/show_bug.cgi?id=1996777) + +[1.7.1] - 2021-08-16 +---------------------------- + +### New Features + +- none + +### Bug Fixes + +- [metrics - role: the bpftrace role does not properly configure bpftrace agent](https://bugzilla.redhat.com/show_bug.cgi?id=1994180) + +[1.7.0] - 2021-08-12 +---------------------------- + +### New Features + +- [drop support for Ansible 2.8](https://bugzilla.redhat.com/show_bug.cgi?id=1989197) + +### Bug Fixes + +- [sshd - sshd: failed to validate: error:Missing Match criteria for all Bad Match condition](https://bugzilla.redhat.com/show_bug.cgi?id=1991598) + +[1.6.6] - 2021-08-06 +---------------------------- + +### New Features + +- [logging - [RFE] logging - Add a support for list value to server_host in the elasticsearch output](https://bugzilla.redhat.com/show_bug.cgi?id=1986460) + +### Bug Fixes + +- none + +[1.6.2] - 2021-07-30 +---------------------------- + +### New Features + +- none + +### Bug Fixes + +- [metrics - role: Grafana dashboard not working after metrics role run unless services manually restarted](https://bugzilla.redhat.com/show_bug.cgi?id=1984150) + +[1.6.0] - 2021-07-28 +---------------------------- + +### New Features + +- [storage - [RFE] storage: support volume sizes as a percentage of pool](https://bugzilla.redhat.com/show_bug.cgi?id=1984583) + +### Bug Fixes + +- none + +[1.5.0] - 2021-07-15 +---------------------------- + +### New Features + +- [ha_cluster - RFE: ha_cluster - add pacemaker cluster properties configuration](https://bugzilla.redhat.com/show_bug.cgi?id=1982913) + +### Bug Fixes + +- none + +[1.4.3] - 2021-07-15 +---------------------------- + +### New Features + +- [crypto_policies - rename 'policy modules' to 'subpolicies'](https://bugzilla.redhat.com/show_bug.cgi?id=1982896) + +### Bug Fixes + +- none + +[1.4.2] - 2021-07-15 +---------------------------- + +### New Features + +- [storage - storage: relabel doesn't support](https://bugzilla.redhat.com/show_bug.cgi?id=1876315) + +### Bug Fixes + +- none + +[1.4.1] - 2021-07-09 +---------------------------- + +### New Features + +- none + +### Bug Fixes + +- [network - Re-running the network system role results in "changed: true" when nothing has actually changed](https://bugzilla.redhat.com/show_bug.cgi?id=1943384) + +[1.4.0] - 2021-07-08 +---------------------------- + +### New Features + +- [storage - RFE: Request that VDO be added to the Ansible (redhat-system-roles)](https://bugzilla.redhat.com/show_bug.cgi?id=1882475) + +### Bug Fixes + +- none + +[1.3.0] - 2021-06-23 +---------------------------- + +### New Features + +- [ha_cluster - RFE: add pacemaker resources configuration](https://bugzilla.redhat.com/show_bug.cgi?id=1963283) +- [network - [Network] RFE: Support ignoring default gateway retrieved by DHCP/IPv6-RA](https://bugzilla.redhat.com/show_bug.cgi?id=1897565) +- [storage - RFE: Request that VDO be added to the Ansible (redhat-system-roles)](https://bugzilla.redhat.com/show_bug.cgi?id=1882475) +- [sshd - RFE: sshd - support for appending a snippet to configuration file](https://bugzilla.redhat.com/show_bug.cgi?id=1970642) +- [timesync - RFE: timesync support for Network Time Security (NTS)](https://bugzilla.redhat.com/show_bug.cgi?id=1970664) + +### Bug Fixes + +- [postfix - Postfix RHEL system role README.md missing variables under the "Role Variables" section](https://bugzilla.redhat.com/show_bug.cgi?id=1961858) +- [postfix - the postfix role is not idempotent](https://bugzilla.redhat.com/show_bug.cgi?id=1960375) +- [selinux - task for semanage says Fedora in name but also runs on RHEL/CentOS 8](https://bugzilla.redhat.com/show_bug.cgi?id=1966681) +- [metrics - role task to enable logging for targeted hosts not working](https://bugzilla.redhat.com/show_bug.cgi?id=1967335) +- [sshd ssh - Unable to set sshd_hostkey_group and sshd_hostkey_mode](https://bugzilla.redhat.com/show_bug.cgi?id=1966711) + +[1.2.3] - 2021-06-17 +---------------------------- + +### New Features + +- [main.yml: Add EL 9 support for all roles](https://bugzilla.redhat.com/show_bug.cgi?id=1952887) + +### Bug Fixes + +- none + +[1.2.2] - 2021-06-15 +---------------------------- + +### New Features + +- [timesync - Add hybrid_e2e option to PTP domain](https://bugzilla.redhat.com/show_bug.cgi?id=1957849) + +### Bug Fixes + +- [Internal links in README.md are broken](https://bugzilla.redhat.com/show_bug.cgi?id=1962976) +- [ha_cluster - cannot read preshared key in binary format](https://bugzilla.redhat.com/show_bug.cgi?id=1952620) + +[1.2.1] - 2021-05-21 +---------------------------- + +### New Features + +- none + +### Bug Fixes + +- [Internal links in README.md are broken](https://bugzilla.redhat.com/show_bug.cgi?id=1962976) + +[1.2.0] - 2021-05-17 +---------------------------- + +### New Features + +- [network - role: Support ethtool -G|--set-ring options](https://bugzilla.redhat.com/show_bug.cgi?id=1959649) + +### Bug Fixes + +- [postfix - postfix: Use FQRN in README](https://bugzilla.redhat.com/show_bug.cgi?id=1958963) +- [postfix - Documentation error in rhel-system-roles postfix readme file](https://bugzilla.redhat.com/show_bug.cgi?id=1866544) +- [storage - storage: calltrace observed when set type: partition for storage_pools](https://bugzilla.redhat.com/show_bug.cgi?id=1854187) + +[1.1.0] - 2021-05-13 +---------------------------- + +### New Features + +- [timesync - [RFE] support for free form configuration for chrony](https://bugzilla.redhat.com/show_bug.cgi?id=1938023) +- [timesync - [RFE] support for timesync_max_distance to configure maxdistance/maxdist parameter](https://bugzilla.redhat.com/show_bug.cgi?id=1938016) +- [timesync - [RFE] support for ntp xleave, filter, and hw timestamping](https://bugzilla.redhat.com/show_bug.cgi?id=1938020) +- [selinux - [RFE] Ability to install custom SELinux module via Ansible](https://bugzilla.redhat.com/show_bug.cgi?id=1848683) +- [network - support for ipv6_disabled to disable ipv6 for address](https://bugzilla.redhat.com/show_bug.cgi?id=1939711) +- [vpn - [RFE] Release Ansible role for vpn in rhel-system-roles](https://bugzilla.redhat.com/show_bug.cgi?id=1943679) + +### Bug Fixes + +- [Bug fixes for Collection/Automation Hub](https://bugzilla.redhat.com/show_bug.cgi?id=1954747) +- [timesync - do not use ignore_errors in timesync role](https://bugzilla.redhat.com/show_bug.cgi?id=1938014) +- [selinux - rhel-system-roles should not reload the SELinux policy if its not changed](https://bugzilla.redhat.com/show_bug.cgi?id=1757869) + +[1.0.0] - 2021-02-23 +---------------------------- + +### New Features + +- [network - RFE: [network] Support of DNS with options](https://bugzilla.redhat.com/show_bug.cgi?id=1893959) +- [network - RFE: [network] Embrace Inclusive language](https://bugzilla.redhat.com/show_bug.cgi?id=1893957) +- [ssh - [8.4] [RFE] Release Ansible role for ssh client in rhel-system-roles](https://bugzilla.redhat.com/show_bug.cgi?id=1893712) +- [clusterha - [8.4] [RFE] Release Ansible role for cluster HA in rhel-system-roles](https://bugzilla.redhat.com/show_bug.cgi?id=1893743) +- [logging - Logging - Support RELP secure transport in the logging role configuration](https://bugzilla.redhat.com/show_bug.cgi?id=1889484) +- [metrics - [8.4] [RFE] add exporting-metric-data-to-elasticsearch functionality in the metrics role](https://bugzilla.redhat.com/show_bug.cgi?id=1895188) +- [metrics - release SQL server configuration support in the metrics role](https://bugzilla.redhat.com/show_bug.cgi?id=1893908) +- [[8.4] Package rhel-system-roles in the collection format in addition to the legacy role format](https://bugzilla.redhat.com/show_bug.cgi?id=1893906) + +### Bug Fixes + +- [logging - Logging - Integrating ELK with RHV-4.4 fails as RHVH is missing 'rsyslog-gnutls' package.](https://bugzilla.redhat.com/show_bug.cgi?id=1927943) +- [storage - storage: omitted parameters on existing pool/volume is interpreted as "use the default"](https://bugzilla.redhat.com/show_bug.cgi?id=1894651) +- [storage - storage: must list disks in order to identify an existing pool](https://bugzilla.redhat.com/show_bug.cgi?id=1894676) +- [storage - storage: pool metadata usage must be accounted for by the user](https://bugzilla.redhat.com/show_bug.cgi?id=1894647) +- [selinux - Merged fix incorrect default value (there is no variable named "present")](https://bugzilla.redhat.com/show_bug.cgi?id=1926947) +- [storage - storage: tests_luks.yml partition case failed with nvme disk](https://bugzilla.redhat.com/show_bug.cgi?id=1865990) + +[1.0] - 2021-01-15 +---------------------------- + +### New Features + +- [tlog - Add exclude_users and exclude_groups support](https://bugzilla.redhat.com/show_bug.cgi?id=1895472) +- [crypto_policies - [8.4] [RFE] Release Ansible role for crypto policies in rhel-system-roles](https://bugzilla.redhat.com/show_bug.cgi?id=1893699) +- [sshd - [8.4] [RFE] Release Ansible role for sshd in rhel-system-roles](https://bugzilla.redhat.com/show_bug.cgi?id=1893696) +- [metrics - role should automate the setup of Grafana datasources](https://bugzilla.redhat.com/show_bug.cgi?id=1855544) +- [network role: Support -K|--features|--offload ethtool options](https://bugzilla.redhat.com/show_bug.cgi?id=1696703) +- [network role: Atomic changes](https://bugzilla.redhat.com/show_bug.cgi?id=1695161) + +### Bug Fixes + +- [storage - safe mode of storage role does not prevent accidentally losing data when toggling encryption on a volume, disk or pool](https://bugzilla.redhat.com/show_bug.cgi?id=1881524) +- [storage - storage: ext2/3/4 resize function doesn't work](https://bugzilla.redhat.com/show_bug.cgi?id=1862867) +- [logging - [logging role] cannot setup machine with tls](https://bugzilla.redhat.com/show_bug.cgi?id=1861318) +- [certificate - role: The role is not idempotent in rhel7](https://bugzilla.redhat.com/show_bug.cgi?id=1859547) +- [logging - Logging - Bug fixes](https://bugzilla.redhat.com/show_bug.cgi?id=1854546) +- [logging - [logging role] support scenario for client without key/cert, just CA cert](https://bugzilla.redhat.com/show_bug.cgi?id=1860896) +- [metrics - role incorrectly sets up multiple primary pmie processes in multi-host mode](https://bugzilla.redhat.com/show_bug.cgi?id=1855539) +- [certificate - role cannot manage EL7 hosts](https://bugzilla.redhat.com/show_bug.cgi?id=1848745) +- [network - [network] Support state:down persistent_state:absent for non-existent profile](https://bugzilla.redhat.com/show_bug.cgi?id=1822777) +- [network - Creating active bonded interface fails with the initscripts provider](https://bugzilla.redhat.com/show_bug.cgi?id=1848472) +- [logging - Logging role had performance issues](https://bugzilla.redhat.com/show_bug.cgi?id=1848762) +- [certificate - role does not work on controller hosts which use jinja2 2.10](https://bugzilla.redhat.com/show_bug.cgi?id=1848742) +- [nbde_client - fix idempotency, check_mode issues with nbde_client role](https://bugzilla.redhat.com/show_bug.cgi?id=1848766) +- [storage - Storage role can remove existing filesystems and volume groups without warning](https://bugzilla.redhat.com/show_bug.cgi?id=1763242) +- [network role: Minimize service disruption](https://bugzilla.redhat.com/show_bug.cgi?id=1695157) +- [typo in selinux/tests/tests_selinux_disabled.yml: Invalid options for assert: mgs](https://bugzilla.redhat.com/show_bug.cgi?id=1677743) +- [Check mode problems in rhel-system-roles](https://bugzilla.redhat.com/show_bug.cgi?id=1685904) + +[0.6] - 2018-05-11 +---------------------------- + +### New Features + +- [RFE: Ansible rhel-system-roles.network: add ETHTOOL_OPTS, LINKDELAY, IPV4_FAILURE_FATAL](https://bugzilla.redhat.com/show_bug.cgi?id=1478576) + +### Bug Fixes + +- none diff --git a/SOURCES/spec-to-changelog-md.sh b/SOURCES/spec-to-changelog-md.sh new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/spec-to-changelog-md.sh diff --git a/SPECS/rhel-system-roles.spec b/SPECS/rhel-system-roles.spec index 9ac65e3..cf4a858 100644 --- a/SPECS/rhel-system-roles.spec +++ b/SPECS/rhel-system-roles.spec @@ -30,7 +30,7 @@ Name: linux-system-roles %endif Url: https://github.com/linux-system-roles Summary: Set of interfaces for unified system management -Version: 1.19.3 +Version: 1.20.0 Release: 1%{?dist} #Group: Development/Libraries @@ -125,89 +125,87 @@ BuildRequires: %{ansible_build_dep} %%global rolestodir %%{?rolestodir} %%{roletodir%{1}} } -%defcommit 1 63bf03c599fd4728af639413dbdeb021e78c7dac +#%%defcommit 1 14314822b529520ac12964e0d2938c4bb18ab895 %global rolename1 postfix -#%%deftag 1 1.2.3 +%deftag 1 1.2.4 -%defcommit 2 60147750a75bee7a4884faddc3d43fcb67454ed0 +#%%defcommit 2 9fe6eb36772e83b53dcfb8ceb73608fd4f72eeda %global rolename2 selinux -#%%deftag 2 1.3.6 +%deftag 2 1.4.0 -%defcommit 3 ca2282b0b08b1dec89d0497ee19c4516f2a7193b +#%%defcommit 3 cbe4bf262bffae3bf53e531662237741954c4182 %global rolename3 timesync -#%%deftag 3 1.6.8 +%deftag 3 1.6.9 -%defcommit 4 84b2b230fbffbd8a209127d75f2282ca8ffbbc45 +#%%defcommit 4 02fc72b482e165472624b2f68eecd2ddce1d93b1 %global rolename4 kdump -#%%deftag 4 1.2.4 +%deftag 4 1.2.5 -%defcommit 5 e694ad72c119a15fbb37f1ae0727e435fcc4a52c +#%%defcommit 5 a74092634adfe45f76cf761138abab1811692b4b %global rolename5 network -#%%deftag 5 1.8.0 +%deftag 5 1.9.1 -%defcommit 6 30ef2cec46950aa37e7eed4b32e78ef1405733a7 +#%%defcommit 6 50d2b8ccc98a8f4cb9d1d550d21adc227181e9fa %global rolename6 storage -#%%deftag 6 1.8.1 +%deftag 6 1.9.1 -%defcommit 7 3410a256e434fa667fede5f889c603f00383ee4b +#%%defcommit 7 d57caa8ca506d8cbc7ca0f96f7cb62b7e965f163 %global rolename7 metrics -#%%deftag 7 1.7.2 +%deftag 7 1.7.3 -%defcommit 8 6e1b27a9f2ae397047eb2698756b992c43acc743 +#%%defcommit 8 2b9e53233ee3a68bdb532e62f289733e436a6106 %global rolename8 tlog -#%%deftag 8 1.2.8 +%deftag 8 1.2.9 -%defcommit 9 9a8967707be85eb1978e0b74bab0685504671d15 +#%%defcommit 9 9373303b98e09ef38df7afc8d06e5e55812096c7 %global rolename9 kernel_settings -#%%deftag 9 1.1.8 +%deftag 9 1.1.10 -%defcommit 10 5219f7afd2f500662074943d3155f7825050690f +#%%defcommit 10 20dd3e5520ca06dcccaa9b3f1fb428d055e0c23f %global rolename10 logging -#%%deftag 10 1.9.3 +%deftag 10 1.10.0 -%defcommit 11 9e0729631705277734e8ca9fd02537611674d6c2 +#%%defcommit 11 c57d0b1f3384c525738fa26ba4bdca485e162567 %global rolename11 nbde_server -#%%deftag 11 1.1.4 +%deftag 11 1.1.5 -%defcommit 12 1e8fd45389739762109d4a79080a41e497b39023 +#%%defcommit 12 bef2fad5e365712d1f40e53662490ba2550a253f %global rolename12 nbde_client -#%%deftag 12 1.2.4 +%deftag 12 1.2.6 -%defcommit 13 e26ce4cbc3a0b417c513cbadc08e85bf174e9bbf +#%%defcommit 13 310fc53db04e8d3134524afb7a89b0477a2ffb83 %global rolename13 certificate -#%%deftag 13 1.1.5 +%deftag 13 1.1.6 -%defcommit 14 c43bc0bc2bb1f0bf878caab3c14e576a9f91fdf7 +#%%defcommit 14 b2a9857ac661fa32e66666e444b73bfdb34cdf95 %global rolename14 crypto_policies -#%%deftag 14 1.2.5 +%deftag 14 1.2.6 %global forgeorg15 https://github.com/willshersystems %global repo15 ansible-sshd %global rolename15 sshd -%defcommit 15 7349bd448ed1824a02c7c5917f98e85f5ba0d8d0 +%defcommit 15 9766d9097a87a130d4c8abde2247aaad5c925ecf #%%deftag 15 v0.15.1 -%defcommit 16 663e7418a941be0c38188f96691418b647d07a44 +#%%defcommit 16 59b9fd7b25607d8bd33bdb082748955f2652846a %global rolename16 ssh -#%%deftag 16 1.1.7 +%deftag 16 1.1.9 -%defcommit 17 94e6096c71bf014af95df20bc97c4f7dbfae1df3 +#%%defcommit 17 f901239cb91878719c9e7461760ef8d4789d626d %global rolename17 ha_cluster -#%%deftag 17 1.7.3 +%deftag 17 1.7.4 -%defcommit 18 01770c722107855b56499681d67fdba12a9c75cf +#%%defcommit 18 5f6cb73e6753fbdbb219b7d3079f0378b2d3bdb3 %global rolename18 vpn -#%%deftag 18 1.3.4 +%deftag 18 1.3.5 -%defcommit 19 4125be28fa5bc362f19afd938c2c696f7723c70b %global rolename19 firewall -#%%deftag 19 1.2.2 +%deftag 19 1.4.0 -%defcommit 20 19e495deb7c0c9abe53c7eef22b81c9a1a3529cf %global rolename20 cockpit -#%%deftag 20 1.2.4 +%deftag 20 1.3.0 -%global mainid 57b320b6cc51198d3f0c3888a76da9674c7e5da8 +%global mainid c22eff88d40972158cd5c413b7468b4e904cc76c Source: %{url}/auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz Source1: %{archiveurl1} Source2: %{archiveurl2} @@ -236,7 +234,14 @@ Source801: ansible-posix-1.4.0.tar.gz # Collection tarballs from Galaxy # Not used on Fedora. -Source901: community-general-5.2.0.tar.gz +Source901: community-general-5.4.0.tar.gz + +# changelog is auto generated on Fedora +Source996: CHANGELOG.md + +# Script to convert spec %changelog into collection CHANGELOG.md +# only used on Fedora +Source997: spec-to-changelog-md.sh # Script to convert the collection README to Automation Hub. # Not used on Fedora. @@ -499,6 +504,15 @@ for role in %{rolenames}; do .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/$role/README.md done +%if 0%{?rhel} +cp %{SOURCE996} \ + .collections/ansible_collections/%{collection_namespace}/%{collection_name}/docs/CHANGELOG.md +%else +# Build the collection CHANGELOG.md +%{SOURCE997} %{_specdir}/%{name}.spec \ + .collections/ansible_collections/%{collection_namespace}/%{collection_name}/docs/CHANGELOG.md +%endif + %install mkdir -p $RPM_BUILD_ROOT%{installbase} mkdir -p $RPM_BUILD_ROOT%{_datadir}/ansible/roles @@ -517,6 +531,8 @@ mkdir -p $RPM_BUILD_ROOT%{_pkglicensedir} rm $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/roles for role in %{rolenames}; do mkdir -p "$RPM_BUILD_ROOT%{_pkgdocdir}/$role" + cp -p "$RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}$role/CHANGELOG.md" \ + "$RPM_BUILD_ROOT%{_pkgdocdir}/$role" cp -p "$RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}$role/README.md" \ "$RPM_BUILD_ROOT%{_pkgdocdir}/$role" %if %{with html} @@ -576,11 +592,15 @@ cp -p %{buildroot}%{ansible_collection_files}%{collection_name}/README.md \ $RPM_BUILD_ROOT%{_pkgdocdir}/collection for rolename in %{rolenames}; do - if [ -f %{buildroot}%{ansible_collection_files}%{collection_name}/roles/${rolename}/README.md ]; then - mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/collection/roles/${rolename} - cp -p %{buildroot}%{ansible_collection_files}%{collection_name}/roles/${rolename}/README.md \ + for file in CHANGELOG.md README.md; do + if [ -f %{buildroot}%{ansible_collection_files}%{collection_name}/roles/${rolename}/$file ]; then + if [ ! -d $RPM_BUILD_ROOT%{_pkgdocdir}/collection/roles/${rolename} ]; then + mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/collection/roles/${rolename} + fi + cp -p %{buildroot}%{ansible_collection_files}%{collection_name}/roles/${rolename}/$file \ $RPM_BUILD_ROOT%{_pkgdocdir}/collection/roles/${rolename} - fi + fi + done done %if %{with html} @@ -620,7 +640,7 @@ format_item_for_files() { else echo "$files_item" fi - elif [[ "$item" == */README.md ]] || [[ "$item" == */README.html ]]; then + elif [[ "$item" == */README.md ]] || [[ "$item" == */README.html ]] || [[ "$item" == */CHANGELOG.md ]]; then if [[ "$item" == */private_* ]]; then # mark as regular file, not %doc echo "$files_item" @@ -690,11 +710,13 @@ fi %files -f files_section.txt +%{_pkgdocdir}/*/CHANGELOG.md %{_pkgdocdir}/*/README.md %if %{with html} %{_pkgdocdir}/*/README.html %endif %{_pkgdocdir}/*/example-* +%{_pkgdocdir}/collection/roles/*/CHANGELOG.md %{_pkgdocdir}/collection/roles/*/README.md %if %{with html} %{_pkgdocdir}/collection/roles/*/README.html @@ -723,6 +745,17 @@ fi %endif %changelog +* Tue Aug 09 2022 Rich Megginson - 1.20.0-1 +- Resolves:rhbz#2115159 : cockpit - Add customization of port +- Resolves:rhbz#2100939 : firewall - RFE: firewall-system-role: add ability to add interface to zone by PCI device ID +- Resolves:rhbz#2115160 : firewall - support for firewall_config - gather firewall facts +- Resolves:rhbz#2112143 : logging - [RFE] Support startmsg.regex and endmsg.regex in the files inputs +- Resolves:rhbz#2115162 : selinux - Added setting of seuser and selevel for completeness +- Resolves:rhbz#2115161 : nbde_client - Sets proper spacing for parameter rd.neednet=1 +- Resolves:rhbz#2115884 : network - fix IPRouteUtils.get_route_tables_mapping() to accept any whitespace sequence +- Resolves:rhbz#2109997 : ssh sshd - ssh, sshd: RSAMinSize parameter definition is missing +- Resolves:rhbz#2082391 : storage - [RHEL8] [WARNING]: The loop variable 'storage_test_volume' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. + * Fri Jul 01 2022 Rich Megginson - 1.19.3-1 - min_ansible_version is string instead of float