Commit Graph

54 Commits

Author SHA1 Message Date
Noriko Hosoi
5645c1f150 Update system roles for RHEL7 (1970165)
Avoid dynamically using the license macro since the license macro
  is replaced with the value of License directive in the older rpmbuild.
Needs to list excluded files in this hardcoded style since when
  format_item_for_files is executed, brp-python-bytecompile is not
  executed yet.

Resolves: rhbz#1961404
2021-06-16 15:08:30 -07:00
Rich Megginson
b3d4ab2c64 sources - Fix HTML rendering of internal links when using pandoc/asciidoc
Uses pandoc gfm instead of markdown_github (1962976)

Related: rhbz#1961404
2021-06-16 15:07:57 -07:00
Rich Megginson
f940749309 Fix HTML rendering of internal links when using pandoc/asciidoc
Uses pandoc gfm instead of markdown_github (1962976)

Related: rhbz#1961404
2021-06-16 15:03:37 -07:00
Noriko Hosoi
533ad2c992 Make spec file available for older versions of OSes. (1970165)
Drop python3-six dependency which was used by lsr_role2collection.py.
Drop html files from rpm if the version has no markdown parser.
Drop unnecessary python scripts which include python3 only code, e.g.,
  f-strings.

  Resolves: rhbz#1961404
2021-06-11 13:34:52 -07:00
Rich Megginson
a1ccf36593 update sources for fix kdump tests_ssh for basic smoke test (1957876)
Resolves: rhbz#1935914
2021-06-11 13:05:38 -07:00
Rich Megginson
b907aac146 fix kdump tests_ssh for basic smoke test (1957876)
Resolves: rhbz#1935914
2021-06-11 13:05:13 -07:00
Noriko Hosoi
a7186593d4 The rpm package contains collection README.html files only in
%_pkgdocdir and its subdirs, but the collection artifact tarball
has README.html in each roles/ROLE directory along with README.md.
Fixing it to make the collection artifact tarball consistent with
the collection part in rpm.

Related: rhbz#1961404

Following bz's are solved with the previous rebases.

Related: rhbz#1935957
storage: An unhandled exception occurred while running the lookup
plugin 'first_found'.

Related: rhbz#1944296
certificate: ipa-server package missing in RHEL-9 - Failed: Ensure
that IPA server packages are installed

Related: rhbz#1944557
tlog: Always install sssd.conf to enable files domain

Related: rhbz#1944561
crypto_policies: The NO-CAMELLIA is not available in RHEL9 package
anymore. Use a module that is available in all systems

Related: rhbz#1944579
ssh: Add support for RHEL-9 in meta/main.yml, add file vars/RedHat_9.yml

Related: rhbz#1945337
nbde_client: /bin/sh: line 1: cryptsetup: command not found

Related: rhbz#1945359
selinux umount: /sys/fs/selinux: target is busy.

Related: rhbz#1945376
ssh: file not found: file not found: /etc/ssh/ssh_config.d/00-ansible.conf

Related: rhbz#1945378
ssh: file not found: /etc/ssh/ssh_config.d/99-last.conf

Related: rhbz#1945380
ssh: Check if the selected options are in 'Include /etc/ssh/ssh_config.d/*.conf'
in config.content | b64decode

Related: rhbz#1945385
ssh: options_before.stdout == options_after.stdout
2021-05-27 13:16:07 -07:00
Noriko Hosoi
6611d4664d fix logging README.html examples' rendering problems (1962374)
fix broken internal links in README.md files (1962976)

Fixed the bugs found in the review by @richm.
Bump version to 1.2.1-1.

Related: rhbz#1961404
2021-05-27 13:15:30 -07:00
Sergei Petrosian
17e4e5f377 Keep only one entry for auto-maintenance in sources
Related: rhbz#1943532
2021-05-25 14:33:36 -07:00
Sergei Petrosian
2ef139db83 Add the requirement for kramdown for Fedora and RHEL 9 builds
Update mainid to the latest master commit of auto-maintenance

Upload the updated sources file

Separate requirements for galaxy_transform and md2html, fix version

Related: rhbz#1943532
2021-05-25 14:33:36 -07:00
Rich Megginson
781faa9e57 update sources and .gitignore
Related: rhbz#1961404
2021-05-25 14:33:36 -07:00
Rich Megginson
589f7a04b3 rebase roles to latest upstream
rebase roles to latest upstream (1957876)
make postfix role idempotent (1960375)
use FQRN in postfix README (1958963)
use relayhost in postfix README (1866544)
use lazy unmount to fix umount: target is busy (1945359)
network - Add support for ETHTOOL Ring option (1959649)
storage: calltrace observed when set type: partition for storage_pools (1854187)
ha_cluster - cannot read preshared key in binary format (1952620)

Related: rhbz#1961404
2021-05-25 14:33:36 -07:00
Noriko Hosoi
49a2f82370 Repacing auto-maintenance tarball with the official one.
Rebase: 1954747

Related: rhbz#1961404
2021-05-25 14:33:36 -07:00
Noriko Hosoi
5bac758698 - Copy auto-mainteannce/lsr_role2collection/collection_requirememts.txt
to the collectino top dir as requirements.txt if the source exists.
  (1954747)
- Copy auto-mainteannce/lsr_role2collection/collection_bindep.txt to the
  collectino top dir as bindep.txt if the source exists. (1954747)

Related: rhbz#1961404
2021-05-25 14:33:36 -07:00
Rich Megginson
23c4878234 omit trailing slash from ansible_collection_files
Related: rhbz#1961404
2021-05-25 14:33:36 -07:00
Rich Megginson
1f04d44d20 use correct directory for collection tarball
Related: rhbz#1961404
2021-05-25 14:33:36 -07:00
Rich Megginson
fb7d76631e add vpn role source
Rebase: 1943679

Related: rhbz#1961404
2021-05-25 14:33:36 -07:00
Rich Megginson
095487e01c update changelog
Rebase: 1943679

Related: rhbz#1961404
2021-05-25 14:33:36 -07:00
Rich Megginson
83a5fc0434 add vpn role
Rebase: 1943679

Related: rhbz#1961404
2021-05-25 14:33:36 -07:00
Rich Megginson
06cd74afdb Update changelog
Rebase: 1943679

Related: rhbz#1961404
2021-05-25 14:33:36 -07:00
Rich Megginson
f018f16e50 dynamically generate %files
Generate the content of the %files section dynamically. (1943679)

Related: rhbz#1952889
2021-05-25 14:33:20 -07:00
Rich Megginson
bc131831ba update sources
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:42:19 -07:00
Rich Megginson
9207f63611 update changelog
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:42:18 -07:00
Rich Megginson
7b4303964a rebase remaining roles to latest upstream
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:42:13 -07:00
Rich Megginson
df86859bf0 update sources for sshd rebase
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:42:11 -07:00
Rich Megginson
1bdda61334 update changelog for sshd rebase
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:42:10 -07:00
Rich Megginson
b6f42de785 rebase sshd role to latest upstream
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:42:08 -07:00
Rich Megginson
e1a7df37f2 update sources for metrics rebase
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:42:07 -07:00
Rich Megginson
b2c6ac5c1b update changelog for metrics rebase
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:42:05 -07:00
Rich Megginson
e378efd3c5 rebase metrics role to latest upstream
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:42:03 -07:00
Rich Megginson
75bf7dce8c add new postfix source
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:41:59 -07:00
Rich Megginson
cf12b92573 update changelog for postfix rebase
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:41:57 -07:00
Rich Megginson
924ee8a72b rebase postfix role to latest upstream
Rebase: 1937938

Related: rhbz#1961404
2021-05-25 13:41:54 -07:00
Rich Megginson
d30c493bfe update sources for network rebase
Rebase: 1937938, 1939711

Related: rhbz#1961404
2021-05-25 13:41:46 -07:00
Rich Megginson
700a7010c1 update changelog for network rebase
Rebase to latest upstream (1937938)
support for ipv6_disabled to disable ipv6 for address (1939711)

Related: rhbz#1961404
2021-05-25 13:41:43 -07:00
Rich Megginson
854c272119 rebase network role to latest upstream
support for ipv6_disabled to disable ipv6 for address (1939711)

Related: rhbz#1961404
2021-05-25 13:41:40 -07:00
Rich Megginson
a902424c1f Update sources for storage rebase
Rebase to latest upstream (1937938)

Related: rhbz#1961404
2021-05-25 13:41:37 -07:00
Rich Megginson
08862a98c4 update changelog for storage rebase
Rebase to latest upstream (1937938)

Related: rhbz#1961404
2021-05-25 13:41:35 -07:00
Rich Megginson
bd305606ba rebase storage role to latest upstream
Rebase to latest upstream (1937938)

Related: rhbz#1961404
2021-05-25 13:41:29 -07:00
Rich Megginson
a06bd9db99 add new source
Rebase: 1937938, 1757869, 1848683

Related: rhbz#1961404
2021-05-25 13:41:22 -07:00
Rich Megginson
20c4836016 update changelog
Rebase: 1937938, 1757869, 1848683

Related: rhbz#1961404
2021-05-25 13:41:14 -07:00
Rich Megginson
18badc5e8b rebase selinux role to latest upstream
Rebase to latest upstream (1937938)
should not reload the SELinux policy if its not changed (1757869)
Ability to install custom SELinux module via Ansible (1848683)

Related: rhbz#1961404
2021-05-25 13:41:10 -07:00
Rich Megginson
500d261991 Update sources
Rebase: 1937938, 1938023, 1938014, 1938016, 1938020

Related: rhbz#1961404
2021-05-25 13:40:55 -07:00
Rich Megginson
e9d1abbe08 Update changelog
Rebase: 1937938, 1938023, 1938014, 1938016, 1938020

Related: rhbz#1961404
2021-05-25 13:40:37 -07:00
Rich Megginson
799866de2b rebase timesync role to latest upstream
Rebase to latest upstream (1937938)
timesync - add timesync_chrony_custom_settings variable for free-form local configs (1938023)
do not use ignore_errors in timesync role (1938014)
support for timesync_max_distance to configure maxdistance/maxdist parameter (1938016)
support for ntp xleave, filter, and hw timestamping (1938020)

Related: rhbz#1961404
2021-05-25 13:40:31 -07:00
Noriko Hosoi
3b57e8cbea Fixing "sshd role README.md examples use incorrect role name"
This pr fixes 2 issues.
1) Replacing
    - role: willshersystems.sshd
   with
    - role: fedora.linux_system_roles.sshd
2) Avoiding unnecessary conversion. E.g.,
     https://travis-ci.org/willshersystems/ansible-sshd.svg
   was accidentally converted to:
     https://travis-ci.org/willshersystems/fedora.linux_system_roles.sshd.svg

Related: rhbz#1961404
2021-05-25 13:40:27 -07:00
Noriko Hosoi
9824c8fe8a Commit .gitignore and sources
Related: rhbz#1961404
2021-05-25 13:40:25 -07:00
Noriko Hosoi
37a0a35ee7 README.html files (main README for the collection and README for
each role) will not be located in /usr/share/ansible/collections,
but just put in /usr/share/doc/linux-system-roles/collection in rpm.

The README.html files are not included in the collection artifact.

Related: rhbz#1961404
2021-05-25 13:40:19 -07:00
Noriko Hosoi
031963c284 Building the collection artifact subpackage
Description:
If "--with collection_artifact" is added to rh/fedpkg build,
rhel/linux-system-roles-collection-package is created.
Notes:
- have collection_artifact build always disabled by default
- if building --with collection_artifact and without Ansible,
  fedpkg fails due to missing collection artifact (tarball).
- copr build will specify --with collection_artifact explicitly.

For %{without ansible}, ansible_collection_build generates tar at the
collection top and ansible_collection_install untar from the tarball.

Related: rhbz#1961404
2021-05-25 13:40:14 -07:00
Pavel Cahyna
57d713d910 Bump Version, add changelog
Related: rhbz#1961404
2021-05-25 13:40:12 -07:00