Blame SPECS/rhel-system-roles.spec

d018ad
%if 0%{?rhel} && ! 0%{?epel}
d018ad
%bcond_with ansible
d018ad
%else
d018ad
%bcond_without ansible
d018ad
%endif
d018ad
921f83
%if 0%{?rhel}
921f83
Name: rhel-system-roles
921f83
%else
921f83
Name: linux-system-roles
921f83
%endif
7bd08a
Url: https://github.com/linux-system-roles/
921f83
Summary: Set of interfaces for unified system management
6379e2
Version: 1.0.1
6379e2
Release: 1%{?dist}
921f83
921f83
#Group: Development/Libraries
921f83
License: GPLv3+ and MIT and BSD
8d0a7f
%global installbase %{_datadir}/linux-system-roles
8d0a7f
%global _pkglicensedir %{_licensedir}/%{name}
921f83
%global rolealtprefix linux-system-roles.
8d0a7f
%global roleprefix %{name}.
8d0a7f
%global roleinstprefix %{nil}
8d0a7f
%global rolealtrelpath ../../linux-system-roles/
8d0a7f
%if 0%{?rhel}
8d0a7f
%global roleinstprefix %{roleprefix}
8d0a7f
%global installbase %{_datadir}/ansible/roles
8d0a7f
%global rolealtrelpath %{nil}
8d0a7f
%endif
8d0a7f
8d0a7f
%if 0%{?rhel}
d018ad
%global collection_namespace redhat
d018ad
%global collection_name rhel_system_roles
d018ad
%else
d018ad
%global collection_namespace fedora
d018ad
%global collection_name linux_system_roles
921f83
%endif
8d0a7f
%global subrole_prefix "private_${role}_subrole_"
921f83
d018ad
%global collection_version %{version}
d018ad
d018ad
# Helper macros originally from macros.ansible by Igor Raits <ignatenkobrain>
d018ad
# Not available on RHEL, so we must define those macros locally here without using ansible-galaxy
d018ad
d018ad
# Not used (yet). Could be made to point to AH in RHEL - but what about CentOS Stream?
d018ad
#%%{!?ansible_collection_url:%%define ansible_collection_url() https://galaxy.ansible.com/%%{collection_namespace}/%%{collection_name}}
d018ad
d018ad
%{!?ansible_collection_files:%define ansible_collection_files %{_datadir}/ansible/collections/ansible_collections/%{collection_namespace}/}
d018ad
d018ad
%if %{with ansible}
d018ad
BuildRequires: ansible >= 2.9.10
d018ad
%endif
d018ad
d018ad
%if %{undefined ansible_collection_build}
d018ad
%if %{without ansible}
d018ad
# Empty command. We don't have ansible-galaxy.
d018ad
%define ansible_collection_build() :
d018ad
%else
d018ad
%define ansible_collection_build() ansible-galaxy collection build
d018ad
%endif
d018ad
%endif
d018ad
d018ad
%if %{undefined ansible_collection_install}
d018ad
%if %{without ansible}
d018ad
# Simply copy everything instead of galaxy-installing the built artifact.
d018ad
%define ansible_collection_install() mkdir -p %{buildroot}%{ansible_collection_files}; cp -a . %{buildroot}%{ansible_collection_files}/%{collection_name}/
d018ad
%else
d018ad
%define ansible_collection_install() ansible-galaxy collection install -n -p %{buildroot}%{_datadir}/ansible/collections %{collection_namespace}-%{collection_name}-%{version}.tar.gz
d018ad
%endif
d018ad
%endif
d018ad
921f83
# For each role, call either defcommit() or deftag(). The other macros
921f83
# (%%id and %%shortid) can be then used in the same way in both cases.
921f83
# This way  the rest of the spec file des not need to know whether we are
921f83
# dealing with a tag or a commit.
7bd08a
%global archiveext tar.gz
8d0a7f
# list of role names
8d0a7f
%global rolenames %nil
8d0a7f
# list of assignments that can be used to populate a bash associative array variable
8d0a7f
%global rolestodir %nil
7bd08a
%define getarchivedir() %(p=%{basename:%{S:%{1}}}; echo ${p%%.%{archiveext}})
7bd08a
7bd08a
%define defcommit() %{expand:%%global ref%{1} %{2}
7bd08a
%%global shortcommit%{1} %%(c=%%{ref%{1}}; echo ${c:0:7})
8d0a7f
%%global extractdir%{1} %%{expand:%%getarchivedir %{1}}
7bd08a
%%{!?repo%{1}:%%global repo%{1} %%{rolename%{1}}}
7bd08a
%%global archiveurl%{1} %%{?forgeorg%{1}}%%{!?forgeorg%{1}:%%{url}}%%{repo%{1}}/archive/%%{ref%{1}}/%%{repo%{1}}-%%{ref%{1}}.tar.gz
8d0a7f
%%global rolenames %%{?rolenames} %%{rolename%{1}}
8d0a7f
%%global roletodir%{1} [%{rolename%{1}}]="%{extractdir%{1}}"
8d0a7f
%%global rolestodir %%{?rolestodir} %{roletodir%{1}}
921f83
}
921f83
7bd08a
%define deftag() %{expand:%%global ref%{1} %{2}
8d0a7f
%%global extractdir%{1} %%{expand:%%getarchivedir %{1}}
7bd08a
%%{!?repo%{1}:%%global repo%{1} %%{rolename%{1}}}
7bd08a
%%global archiveurl%{1} %%{?forgeorg%{1}}%%{!?forgeorg%{1}:%%{url}}%%{repo%{1}}/archive/%%{ref%{1}}/%%{repo%{1}}-%%{ref%{1}}.tar.gz
8d0a7f
%%global rolenames %%{?rolenames} %%{rolename%{1}}
8d0a7f
%%global roletodir%{1} [%{rolename%{1}}]="%{extractdir%{1}}"
8d0a7f
%%global rolestodir %%{?rolestodir} %%{roletodir%{1}}
921f83
}
921f83
921f83
#%%defcommit 1 43eec5668425d295dce3801216c19b1916df1f9b
921f83
%global rolename1 postfix
921f83
%deftag 1 0.1
921f83
7bd08a
#%%defcommit 2 6cd1ec8fdebdb92a789b14e5a44fe77f0a3d8ecd
921f83
%global rolename2 selinux
7bd08a
%deftag 2 1.1.1
921f83
921f83
%defcommit 3 924650d0cd4117f73a7f0413ab745a8632bc5cec
921f83
%global rolename3 timesync
921f83
#%%deftag 3 1.0.0
921f83
d018ad
%defcommit 4 77596fdd976c6160d6152c200a5432c609725a14
d018ad
%global rolename4 kdump
d018ad
#%%deftag 4 1.0.0
d018ad
8d0a7f
%defcommit 5 bda206d45c87ee8c1a5284de84f5acf5e629de97
921f83
%global rolename5 network
921f83
#%%deftag 5 1.0.0
921f83
8d0a7f
%defcommit 6 485de47b0dc0787aea077ba448ecb954f53e40c4
921f83
%global rolename6 storage
8d0a7f
#%%deftag 6 1.2.2
921f83
0fb9c7
%defcommit 7 e81b2650108727f38b1c856699aad26af0f44a46
921f83
%global rolename7 metrics
921f83
#%%deftag 7 0.1.0
921f83
7bd08a
#%%defcommit 8 cfa70b6b5910b3198aba2679f8fc36aad45ca45a
921f83
%global rolename8 tlog
7bd08a
%deftag 8 1.1.0
921f83
6379e2
%defcommit 9 4c81fd1380712ab0641b6837f092dd9caeeae0a6
921f83
%global rolename9 kernel_settings
8d0a7f
#%%deftag 9 1.0.1
921f83
6379e2
%defcommit 10 07e08107e7ccba5822f8a7aaec1a2ff0a221bede
921f83
%global rolename10 logging
921f83
#%%deftag 10 0.2.0
921f83
6379e2
%defcommit 11 4dfc5e2aca74cb82f2a50eec7e975a2b78ad9678
921f83
%global rolename11 nbde_server
6379e2
#%%deftag 11 1.0.1
921f83
6379e2
%defcommit 12 19f06159582550c8463f7d8492669e26fbdf760b
921f83
%global rolename12 nbde_client
8d0a7f
#%%deftag 12 1.0.1
921f83
6379e2
%defcommit 13 0376ceece57882ade8ffaf431b7866aae3e7fed1
921f83
%global rolename13 certificate
d018ad
#%%deftag 13 1.0.1
7bd08a
6379e2
%defcommit 14 2e2941c5545571fc8bc494099bdf970f498b9d38
7bd08a
%global rolename14 crypto_policies
7bd08a
7bd08a
%global forgeorg15 https://github.com/willshersystems/
7bd08a
%global repo15 ansible-sshd
7bd08a
%global rolename15 sshd
7bd08a
%defcommit 15 e1de59b3c54e9d48a010eeca73755df339c7e628
7bd08a
6379e2
%defcommit 16 21adc637511db86b5ba279a70a7301ef3a170669
8d0a7f
%global rolename16 ssh
8d0a7f
8d0a7f
%defcommit 17 779bb78559de58bb5a1f25a4b92039c373ef59a4
8d0a7f
%global rolename17 ha_cluster
8d0a7f
6379e2
%global mainid 8f069305caa0a142c2c6ac14bd4d331282a1c079
d018ad
Source: %{url}auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz
7bd08a
Source1: %{archiveurl1}
7bd08a
Source2: %{archiveurl2}
7bd08a
Source3: %{archiveurl3}
d018ad
Source4: %{archiveurl4}
7bd08a
Source5: %{archiveurl5}
7bd08a
Source6: %{archiveurl6}
7bd08a
Source7: %{archiveurl7}
7bd08a
Source8: %{archiveurl8}
7bd08a
Source9: %{archiveurl9}
7bd08a
Source10: %{archiveurl10}
7bd08a
Source11: %{archiveurl11}
7bd08a
Source12: %{archiveurl12}
7bd08a
Source13: %{archiveurl13}
7bd08a
Source14: %{archiveurl14}
7bd08a
Source15: %{archiveurl15}
8d0a7f
Source16: %{archiveurl16}
8d0a7f
Source17: %{archiveurl17}
921f83
8d0a7f
# Script to convert the collection README to Automation Hub.
8d0a7f
# Not used on Fedora.
d018ad
Source998: collection_readme.sh
921f83
921f83
Patch11: rhel-system-roles-postfix-pr5.diff
77f1f8
Patch12: postfix-meta-el8.diff
921f83
921f83
Patch21: selinux-tier1-tags.diff
8d0a7f
Patch22: selinux-bz-1926947-no-variable-named-present.diff
6379e2
Patch23: selinux-ansible-test-issues.diff
921f83
921f83
Patch31: timesync-tier1-tags.diff
6379e2
Patch32: timesync-ansible-test-issues.diff
921f83
d018ad
Patch41: rhel-system-roles-kdump-pr22.diff
d018ad
Patch42: kdump-tier1-tags.diff
d018ad
Patch43: kdump-meta-el8.diff
d018ad
Patch44: kdump-fix-newline.diff
d018ad
d018ad
Patch51: network-epel-minimal.diff
8d0a7f
# Not suitable for upstream, since the files need to be executable there
921f83
Patch52: network-permissions.diff
921f83
Patch53: network-tier1-tags.diff
7bd08a
Patch55: network-disable-bondtests.diff
c82095
Patch56: network-pr353.diff
6379e2
Patch57: network-ansible-test.diff
921f83
d018ad
Patch62: storage-partition-name.diff
8d0a7f
Patch63: storage-no-disks-existing.diff
8d0a7f
Patch64: storage-trim-volume-size.diff
6379e2
Patch65: storage-ansible-test.diff
8d0a7f
8d0a7f
Patch71: metrics-mssql-x86.diff
d018ad
7bd08a
Patch151: sshd-example.diff
8d0a7f
Patch152: sshd-work-on-ansible28-jinja27.diff
212d59
921f83
BuildArch: noarch
921f83
8d0a7f
# These are needed for md2html.sh to build the documentation
921f83
BuildRequires: asciidoc
921f83
BuildRequires: pandoc
921f83
BuildRequires: highlight
d018ad
BuildRequires: python3
d018ad
BuildRequires: python3-six
d018ad
BuildRequires: python3dist(ruamel.yaml)
921f83
921f83
Requires: python3-jmespath
921f83
921f83
Obsoletes: rhel-system-roles-techpreview < 1.0-3
921f83
d018ad
%if %{undefined __ansible_provides}
d018ad
Provides: ansible-collection(%{collection_namespace}.%{collection_name}) = %{collection_version}
d018ad
%endif
d018ad
# be compatible with the usual Fedora Provides:
d018ad
Provides: ansible-collection-%{collection_namespace}-%{collection_name} = %{version}-%{release}
d018ad
921f83
# We need to put %%description within the if block to avoid empty
921f83
# lines showing up.
921f83
%if 0%{?rhel}
921f83
%description
921f83
Collection of Ansible roles and modules that provide a stable and
921f83
consistent configuration interface for managing multiple versions
921f83
of Red Hat Enterprise Linux.
921f83
%else
921f83
%description
921f83
Collection of Ansible roles and modules that provide a stable and
921f83
consistent configuration interface for managing multiple versions
921f83
of Fedora, Red Hat Enterprise Linux & CentOS.
921f83
%endif
921f83
921f83
%prep
8d0a7f
%setup -q -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -n %{getarchivedir 0}
8d0a7f
8d0a7f
declare -A ROLESTODIR=(%{rolestodir})
8d0a7f
for rolename in %{rolenames}; do
8d0a7f
    mv "${ROLESTODIR[${rolename}]}" ${rolename}
7bd08a
done
7bd08a
7bd08a
cd %{rolename1}
921f83
%patch11 -p1
77f1f8
%patch12 -p1
921f83
cd ..
7bd08a
cd %{rolename2}
921f83
%patch21 -p1
8d0a7f
%patch22 -p1
6379e2
%patch23 -p1
921f83
cd ..
7bd08a
cd %{rolename3}
921f83
%patch31 -p1
6379e2
%patch32 -p1
921f83
cd ..
d018ad
cd %{rolename4}
d018ad
%patch41 -p1
d018ad
%patch42 -p1
d018ad
%patch43 -p1
d018ad
%patch44 -p1
d018ad
cd ..
7bd08a
cd %{rolename5}
d018ad
%patch51 -p1
921f83
%patch52 -p1
921f83
%patch53 -p1
7bd08a
%patch55 -p1
c82095
%patch56 -p1
6379e2
%patch57 -p1
921f83
cd ..
7bd08a
cd %{rolename6}
d018ad
%patch62 -p1
8d0a7f
%patch63 -p1
8d0a7f
%patch64 -p1
6379e2
%patch65 -p1
8d0a7f
cd ..
8d0a7f
cd %{rolename7}
8d0a7f
%patch71 -p1
921f83
cd ..
7bd08a
cd %{rolename15}
7bd08a
%patch151 -p1
8d0a7f
%patch152 -p1
7bd08a
sed -r -i -e "s/ansible-sshd/linux-system-roles.sshd/" tests/*.yml examples/*.yml README.md
212d59
cd ..
921f83
d018ad
# Replacing "linux-system-roles.rolename" with "rhel-system-roles.rolename" in each role
d018ad
%if "%{roleprefix}" != "linux-system-roles."
8d0a7f
for rolename in %{rolenames}; do
7bd08a
    find $rolename -type f -exec \
4eec9e
         sed "s/linux-system-roles[.]${rolename}\\>/%{roleprefix}${rolename}/g" -i {} \;
8d0a7f
done
921f83
%endif
8d0a7f
8d0a7f
# Removing symlinks in tests/roles
8d0a7f
for rolename in %{rolenames}; do
d018ad
    if [ -d ${rolename}/tests/roles ]; then
d018ad
        find ${rolename}/tests/roles -type l -exec rm {} \;
d018ad
        if [ -d ${rolename}/tests/roles/linux-system-roles.${rolename} ]; then
d018ad
            rm -r ${rolename}/tests/roles/linux-system-roles.${rolename}
d018ad
        fi
d018ad
    fi
d018ad
done
d018ad
rm %{rolename5}/tests/modules
d018ad
rm %{rolename5}/tests/module_utils
d018ad
rm %{rolename5}/tests/playbooks/roles
d018ad
d018ad
# transform ambiguous #!/usr/bin/env python shebangs to python3 to stop brp-mangle-shebangs complaining
d018ad
find -type f -executable -name '*.py' -exec \
d018ad
     sed -i -r -e '1s@^(#! */usr/bin/env python)(\s|$)@#\13\2@' '{}' +
d018ad
921f83
%build
d018ad
sh md2html.sh \
7bd08a
%{rolename1}/README.md \
7bd08a
%{rolename2}/README.md \
7bd08a
%{rolename3}/README.md \
d018ad
%{rolename4}/README.md \
7bd08a
%{rolename5}/README.md \
7bd08a
%{rolename6}/README.md \
7bd08a
%{rolename7}/README.md \
7bd08a
%{rolename8}/README.md \
7bd08a
%{rolename9}/README.md \
7bd08a
%{rolename10}/README.md \
7bd08a
%{rolename11}/README.md \
7bd08a
%{rolename12}/README.md \
7bd08a
%{rolename13}/README.md \
7bd08a
%{rolename14}/README.md \
8d0a7f
%{rolename15}/README.md \
8d0a7f
%{rolename16}/README.md \
8d0a7f
%{rolename17}/README.md
921f83
d018ad
mkdir .collections
d018ad
%if 0%{?rhel}
d018ad
# Convert the upstream collection readme to the downstream one
d018ad
%{SOURCE998} lsr_role2collection/collection_readme.md
8ee312
%endif
6379e2
./galaxy_transform.py "%{collection_namespace}" "%{collection_name}" "%{collection_version}" "Red Hat Enterprise Linux System Roles Ansible Collection" > galaxy.yml.tmp
9d4a29
mv galaxy.yml.tmp galaxy.yml
8ee312
6379e2
for role in %{rolenames}; do
d018ad
    python3 lsr_role2collection.py --role "$role" --src-path "$role" \
8d0a7f
        --src-owner %{name} --subrole-prefix %{subrole_prefix} --dest-path .collections \
d018ad
        --readme lsr_role2collection/collection_readme.md \
d018ad
        --namespace %{collection_namespace} --collection %{collection_name}
d018ad
done
d018ad
6379e2
rm -f .collections/ansible_collections/%{collection_namespace}/%{collection_name}/tests/sanity/ignore-2.9.txt
6379e2
# Merge .sanity-ansible-ignore-2.9-ROLENAME.txt into tests/sanity/ignore-2.9.txt
6379e2
mkdir -p .collections/ansible_collections/%{collection_namespace}/%{collection_name}/tests/sanity
6379e2
for role in %{rolenames}; do
6379e2
    if [ -f .collections/ansible_collections/%{collection_namespace}/%{collection_name}/.sanity-ansible-ignore-2.9-"$role".txt ];
6379e2
    then
6379e2
      cat .collections/ansible_collections/%{collection_namespace}/%{collection_name}/.sanity-ansible-ignore-2.9-"$role".txt \
6379e2
        >> .collections/ansible_collections/%{collection_namespace}/%{collection_name}/tests/sanity/ignore-2.9.txt
6379e2
      rm -f .collections/ansible_collections/%{collection_namespace}/%{collection_name}/.sanity-ansible-ignore-*-"$role".txt
6379e2
    fi
6379e2
done
6379e2
6379e2
# removing dot files/dirs
6379e2
rm -r .collections/ansible_collections/%{collection_namespace}/%{collection_name}/.[A-Za-z]*
6379e2
9d4a29
cp -p galaxy.yml lsr_role2collection/.ansible-lint \
9d4a29
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}
6379e2
6379e2
# converting README.md to README.html
6379e2
sh md2html.sh -l \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename1}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename2}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename3}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename4}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename5}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename6}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename7}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename8}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename9}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename10}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename11}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename12}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename13}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename14}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename15}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename16}/README.md \
6379e2
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{rolename17}/README.md
d018ad
d018ad
cd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
d018ad
%ansible_collection_build
d018ad
921f83
%install
8d0a7f
mkdir -p $RPM_BUILD_ROOT%{installbase}
921f83
mkdir -p $RPM_BUILD_ROOT%{_datadir}/ansible/roles
921f83
8d0a7f
cp -pR %{rolename1}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename1}
8d0a7f
cp -pR %{rolename2}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename2}
8d0a7f
cp -pR %{rolename3}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename3}
8d0a7f
cp -pR %{rolename4}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename4}
8d0a7f
cp -pR %{rolename5}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename5}
8d0a7f
cp -pR %{rolename6}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename6}
8d0a7f
cp -pR %{rolename7}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename7}
8d0a7f
cp -pR %{rolename8}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename8}
8d0a7f
cp -pR %{rolename9}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename9}
8d0a7f
cp -pR %{rolename10}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename10}
8d0a7f
cp -pR %{rolename11}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename11}
8d0a7f
cp -pR %{rolename12}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename12}
8d0a7f
cp -pR %{rolename13}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename13}
8d0a7f
cp -pR %{rolename14}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename14}
8d0a7f
cp -pR %{rolename15}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename15}
8d0a7f
cp -pR %{rolename16}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename16}
8d0a7f
cp -pR %{rolename17}      $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}%{rolename17}
921f83
921f83
%if 0%{?rolealtprefix:1}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename1}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename1}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename2}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename2}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename3}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename3}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename4}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename4}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename5}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename5}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename6}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename6}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename7}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename7}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename8}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename8}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename9}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename9}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename10}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename10}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename11}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename11}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename12}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename12}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename13}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename13}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename14}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename14}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename15}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename15}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename16}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename16}
8d0a7f
ln -s    %{rolealtrelpath}%{roleinstprefix}%{rolename17}   $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{rolealtprefix}%{rolename17}
921f83
%endif
921f83
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/kdump
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/postfix
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/selinux
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/timesync
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/network
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/storage
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/metrics
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/tlog
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/kernel_settings
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/logging
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/nbde_server
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/nbde_client
921f83
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/certificate
7bd08a
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/crypto_policies
7bd08a
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/sshd
8d0a7f
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/ssh
8d0a7f
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/ha_cluster
8d0a7f
mkdir -p $RPM_BUILD_ROOT%{_pkglicensedir}
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}kdump/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}kdump/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/kdump
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}kdump/COPYING \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/kdump.COPYING
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}postfix/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}postfix/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/postfix
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}postfix/COPYING \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/postfix.COPYING
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}selinux/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}selinux/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/selinux
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}selinux/COPYING \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/selinux.COPYING
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}selinux/selinux-playbook.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/selinux/example-selinux-playbook.yml
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}timesync/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}timesync/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/timesync
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}timesync/COPYING \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/timesync.COPYING
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}timesync/examples/multiple-ntp-servers.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/timesync/example-timesync-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}timesync/examples/single-pool.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/timesync/example-timesync-pool-playbook.yml
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/network.LICENSE
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/bond_with_vlan.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-bond_with_vlan-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/bridge_with_vlan.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-bridge_with_vlan-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/eth_simple_auto.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-eth_simple_auto-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/eth_with_vlan.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-eth_with_vlan-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/infiniband.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-infiniband-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/macvlan.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-macvlan-playbook.yml
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/remove_profile.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-remove_profile-playbook.yml
8d0a7f
rm $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/remove_profile.yml
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/down_profile.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-down_profile-playbook.yml
8d0a7f
rm $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/down_profile.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/inventory \
921f83
   $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-inventory
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/ethtool_features.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-ethtool_features-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/ethtool_features_default.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-ethtool_features_default-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/bond_simple.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-bond_simple-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/eth_with_802_1x.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-eth_with_802_1x-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/wireless_wpa_psk.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-wireless_wpa_psk-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/remove+down_profile.yml \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-remove+down_profile-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/dummy_simple.yml \
d018ad
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-dummy_simple-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/ethtool_coalesce.yml \
d018ad
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-ethtool_coalesce-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/team_simple.yml \
d018ad
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-team_simple-playbook.yml
8d0a7f
mv $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{roleprefix}network/examples/eth_dns_support.yml \
8d0a7f
    $RPM_BUILD_ROOT%{_pkgdocdir}/network/example-eth_dns_support-playbook.yml
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}storage/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}storage/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/storage
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}storage/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/storage.LICENSE
921f83
8d0a7f
rm $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}*/semaphore
8d0a7f
rm -r $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}*/molecule
921f83
8d0a7f
rm -r $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}*/.[A-Za-z]*
8d0a7f
rm $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}*/tests/.git*
d018ad
8d0a7f
rm $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples/roles
8d0a7f
rmdir $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}network/examples
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}metrics/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}metrics/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/metrics
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}metrics/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/metrics.LICENSE
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}tlog/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}tlog/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/tlog
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}tlog/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/tlog.LICENSE
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}kernel_settings/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}kernel_settings/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/kernel_settings
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}kernel_settings/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/kernel_settings.LICENSE
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}kernel_settings/COPYING \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/kernel_settings.COPYING
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}logging/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}logging/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/logging
8d0a7f
cp -p  $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}logging/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/logging.LICENSE
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}logging/COPYING \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/logging.COPYING
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}nbde_server/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}nbde_server/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/nbde_server
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}nbde_server/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/nbde_server.LICENSE
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}nbde_client/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}nbde_client/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/nbde_client
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}nbde_client/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/nbde_client.LICENSE
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}certificate/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}certificate/README.html \
921f83
    $RPM_BUILD_ROOT%{_pkgdocdir}/certificate
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}certificate/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/certificate.LICENSE
921f83
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}crypto_policies/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}crypto_policies/README.html \
7bd08a
    $RPM_BUILD_ROOT%{_pkgdocdir}/crypto_policies
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}crypto_policies/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/crypto_policies.LICENSE
7bd08a
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}sshd/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}sshd/README.html \
7bd08a
    $RPM_BUILD_ROOT%{_pkgdocdir}/sshd
8d0a7f
cp -p $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}sshd/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/sshd.LICENSE
8d0a7f
# referenced in the configuring-openssh-servers-using-the-sshd-system-role documentation module
8d0a7f
# must be updated if changing the file path
8d0a7f
mv $RPM_BUILD_ROOT%{installbase}/%{roleinstprefix}sshd/examples/example-root-login.yml \
8d0a7f
    $RPM_BUILD_ROOT%{_pkgdocdir}/sshd/example-root-login-playbook.yml
8d0a7f
rmdir $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{roleprefix}sshd/examples
8d0a7f
8d0a7f
cp -p $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{roleprefix}ssh/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{roleprefix}ssh/README.html \
8d0a7f
    $RPM_BUILD_ROOT%{_pkgdocdir}/ssh
8d0a7f
cp -p $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{roleprefix}ssh/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/ssh.LICENSE
8d0a7f
8d0a7f
cp -p $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{roleprefix}ha_cluster/README.md \
8d0a7f
    $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{roleprefix}ha_cluster/README.html \
8d0a7f
    $RPM_BUILD_ROOT%{_pkgdocdir}/ha_cluster
8d0a7f
cp -p $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{roleprefix}ha_cluster/LICENSE \
8d0a7f
    $RPM_BUILD_ROOT%{_pkglicensedir}/ha_cluster.LICENSE
8d0a7f
mv $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{roleprefix}ha_cluster/examples/simple.yml \
8d0a7f
    $RPM_BUILD_ROOT%{_pkgdocdir}/ha_cluster/example-simple-playbook.yml
8d0a7f
rmdir $RPM_BUILD_ROOT%{_datadir}/ansible/roles/%{roleprefix}ha_cluster/examples
7bd08a
d018ad
cd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
d018ad
%ansible_collection_install
d018ad
6379e2
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/collection
6379e2
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/collection/roles
6379e2
6379e2
cp -p %{buildroot}%{ansible_collection_files}%{collection_name}/README.md \
6379e2
    %{buildroot}%{ansible_collection_files}%{collection_name}/README.html \
6379e2
    $RPM_BUILD_ROOT%{_pkgdocdir}/collection
6379e2
6379e2
for rolename in %{rolenames}; do
6379e2
  if [ -f %{buildroot}%{ansible_collection_files}%{collection_name}/roles/${rolename}/README.md ]; then
6379e2
    mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/collection/roles/${rolename}
6379e2
    cp -p %{buildroot}%{ansible_collection_files}%{collection_name}/roles/${rolename}/README.md \
6379e2
        %{buildroot}%{ansible_collection_files}%{collection_name}/roles/${rolename}/README.html \
6379e2
        $RPM_BUILD_ROOT%{_pkgdocdir}/collection/roles/${rolename}
6379e2
  fi
6379e2
done
6379e2
d018ad
921f83
%files
8d0a7f
%if %{without ansible}
921f83
%dir %{_datadir}/ansible
921f83
%dir %{_datadir}/ansible/roles
8d0a7f
%endif
8d0a7f
%if "%{installbase}" != "%{_datadir}/ansible/roles"
8d0a7f
%dir %{installbase}
8d0a7f
%endif
921f83
%if 0%{?rolealtprefix:1}
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}kdump
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}postfix
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}selinux
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}timesync
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}network
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}storage
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}metrics
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}tlog
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}kernel_settings
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}logging
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}nbde_server
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}nbde_client
921f83
%{_datadir}/ansible/roles/%{rolealtprefix}certificate
7bd08a
%{_datadir}/ansible/roles/%{rolealtprefix}crypto_policies
7bd08a
%{_datadir}/ansible/roles/%{rolealtprefix}sshd
8d0a7f
%{_datadir}/ansible/roles/%{rolealtprefix}ssh
8d0a7f
%{_datadir}/ansible/roles/%{rolealtprefix}ha_cluster
921f83
%endif
8d0a7f
%{installbase}/%{roleinstprefix}kdump
8d0a7f
%{installbase}/%{roleinstprefix}postfix
8d0a7f
%{installbase}/%{roleinstprefix}selinux
8d0a7f
%{installbase}/%{roleinstprefix}timesync
8d0a7f
%{installbase}/%{roleinstprefix}network
8d0a7f
%{installbase}/%{roleinstprefix}storage
8d0a7f
%{installbase}/%{roleinstprefix}metrics
8d0a7f
%{installbase}/%{roleinstprefix}tlog
8d0a7f
%{installbase}/%{roleinstprefix}kernel_settings
8d0a7f
%{installbase}/%{roleinstprefix}logging
8d0a7f
%{installbase}/%{roleinstprefix}nbde_server
8d0a7f
%{installbase}/%{roleinstprefix}nbde_client
8d0a7f
%{installbase}/%{roleinstprefix}certificate
8d0a7f
%{installbase}/%{roleinstprefix}crypto_policies
8d0a7f
%{installbase}/%{roleinstprefix}sshd
8d0a7f
%{installbase}/%{roleinstprefix}ssh
8d0a7f
%{installbase}/%{roleinstprefix}ha_cluster
8d0a7f
%{_pkgdocdir}/*/example-*-playbook.yml
8d0a7f
%{_pkgdocdir}/network/example-inventory
8d0a7f
%{_pkgdocdir}/*/README.md
8d0a7f
%{_pkgdocdir}/*/README.html
6379e2
%{_pkgdocdir}/collection/roles/*/README.md
6379e2
%{_pkgdocdir}/collection/roles/*/README.html
6379e2
%doc %{installbase}/%{roleinstprefix}*/README.md
6379e2
%doc %{installbase}/%{roleinstprefix}*/README.html
6379e2
%doc %{ansible_collection_files}/%{collection_name}/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/kdump/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/postfix/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/selinux/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/timesync/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/network/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/storage/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/metrics/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/tlog/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/kernel_settings/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/logging/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/nbde_server/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/nbde_client/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/certificate/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/crypto_policies/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/sshd/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/ssh/README.md
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/ha_cluster/README.md
6379e2
# can't use a glob for .md files, only for .html. .md files include READMEs
6379e2
# for private subroles, and we don;t want to tag those as docs.
6379e2
%doc %{ansible_collection_files}/%{collection_name}/README.html
6379e2
%doc %{ansible_collection_files}/%{collection_name}/roles/*/README.html
8d0a7f
8d0a7f
%license %{_pkglicensedir}/*
8d0a7f
%license %{installbase}/%{roleinstprefix}kdump/COPYING
8d0a7f
%license %{installbase}/%{roleinstprefix}postfix/COPYING
8d0a7f
%license %{installbase}/%{roleinstprefix}selinux/COPYING
8d0a7f
%license %{installbase}/%{roleinstprefix}timesync/COPYING
8d0a7f
%license %{installbase}/%{roleinstprefix}network/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}storage/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}metrics/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}tlog/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}kernel_settings/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}kernel_settings/COPYING
8d0a7f
%license %{installbase}/%{roleinstprefix}logging/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}logging/COPYING
8d0a7f
%license %{installbase}/%{roleinstprefix}nbde_server/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}nbde_client/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}certificate/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}crypto_policies/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}sshd/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}ssh/LICENSE
8d0a7f
%license %{installbase}/%{roleinstprefix}ha_cluster/LICENSE
921f83
d018ad
%{ansible_collection_files}
d018ad
921f83
%changelog
6379e2
* Wed Mar 17 2021 Noriko Hosoi <nhosoi@redhat.com> - 1.0.1-1
6379e2
- Fix description field in galaxy.yml
6379e2
- Remove "Technology Preview" from Collection README
6379e2
- Merging individual ignore file and add it to the package
6379e2
- Add a note to each module Doc to indicate it is private
6379e2
- Add patches for network and storage role ansible-test fixes
6379e2
  Resolves rhbz#1935451
6379e2
- Simplify doc tags in %%files, corrects a forgotten doc tag for ha_cluster
6379e2
- Suppress one ansible-lint warning in ha_cluster
6379e2
c82095
* Tue Feb 23 2021 Fernando Fernandez Mancera <ferferna@redhat.com> - 1.0.0-32
c82095
- Add patch for the inclusive language leftover on network-role README.md,
c82095
  Resolves rhbz#1931931
c82095
8ee312
* Mon Feb 22 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.0.0-31
8ee312
- Rebase certificate role to pick up a test fix, Resolves rhbz#1931568
8ee312
- Rebase logging role to fix default private key path,
8ee312
  upstream PR #218
8ee312
8ee312
* Mon Feb 22 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.0.0-30
8ee312
- Correct merge botch in previous (ssh/README.md is a doc file)
8ee312
- Update galaxy.yml even on Fedora, auto-maintenance may not have
8ee312
  a consistent version number
8ee312
- Update collection doc transformation to match a modified text
8ee312
  and include the Tech Preview note again
8ee312
8d0a7f
* Thu Feb 18 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.0.0-29
8d0a7f
- Change internal role prefix to more descriptive private_${role}_subrole_
8d0a7f
- Sync spec improvements from Fedora and introduce helper macros
8d0a7f
  No functional change except for license files location
8d0a7f
- Disable mssql metrics test on non-x86_64 where the packages
8d0a7f
  are not available. Upstream PR #73
8d0a7f
8d0a7f
* Wed Feb 17 2021 Rich Megginson <rmeggins@redhat.com> - 1.0.0-28
8d0a7f
- Add patch for sshd https://github.com/willshersystems/ansible-sshd/pull/155
8d0a7f
  for ansible 2.8/jinja 2.7 support for sshd role
8d0a7f
- Rebase certificate, kernel_settings, nbde_client for jinja27
8d0a7f
- Rebase the logging role, Resolves rhbz#1927943
8d0a7f
- Rebase storage role, Resolves rhbz#1894651 - interpreatation of
8d0a7f
  omitted parameters
8d0a7f
- Apply storage PR #201 to dispense with the need of listing all disks
8d0a7f
  in existing pools, Resolves rhbz1894676
8d0a7f
- Apply storage PR #199 to allow reducing the requested volume sizes
8d0a7f
  if needed to fit, Resolves rhbz1894647
8d0a7f
- Rebase the network role, Resolves rhbz1893959, rhbz1893957
8d0a7f
- Add the ssh client role, Resolves rhbz1893712
8d0a7f
- Minor issue in selinux - no variable named present
8d0a7f
  Resolves rhbz1926947
8d0a7f
- Prefix internal roles with private_, resolves rhbz#1927417
8d0a7f
- Add the ha_cluster role, Resolves rhbz#1893743
8d0a7f
9d4a29
* Thu Feb 11 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.0.0-27
9d4a29
- Rebase the logging role, Resolves rhbz#1889484
9d4a29
- Fixes to collection docs and galaxy metadata from nhosoi
9d4a29
- Apply network PR #350 Resolves rhbz#1927392
9d4a29
0fb9c7
* Wed Feb  3 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.0.0-26
0fb9c7
- Rebase the metrics role, Resolves rhbz#1895188, rhbz#1893908
0fb9c7
d018ad
* Tue Jan 26 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.0.0-25
d018ad
- Apply storage PR #153 to fix a problem with partition name on NVMe devices
d018ad
  Resolves: rhbz1865990
d018ad
- Remove symlinks to roles under tests
d018ad
- Cleanup of role directories - remove files starting with . in roles' root
d018ad
  directories and Git files under tests. Resolves rhbz#1650550
d018ad
- Add collection support, make Version semver compatible: 1.0 -> 1.0.0
d018ad
  Resolves rhbz#1893906
d018ad
- Autogenerate Automation-Hub README.md if building for RHEL
d018ad
- Renumber sources, Source is now auto-maintenance since it is the root
d018ad
  of the source tree, kdump becomes Source4 (4 was originally firewall)
d018ad
- Introduce bcond_with/without ansible, work on Fedora, RHEL and EPEL
d018ad
- Rebase certificate role to include collection-related workarounds,
d018ad
  no change in behavior intended
d018ad
- Rebase network role, includes collection-related workarounds
d018ad
- Revert an invasive network change to enable EPEL (PR #335) and implement
d018ad
  a minimal version
d018ad
663612
* Fri Jan 15 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.0-24
663612
- Apply PR #63 for kdump to fix a problem in test introduced by rebase
663612
7bd08a
* Fri Jan  8 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.0-23
7bd08a
- Add {crypto_policies,sshd}/README.md to docfiles, thanks jjelen
7bd08a
- Fix role name in selinux patch
7bd08a
- Add sshd role example and README fix
7bd08a
- Fix role name in sshd role tests and docs
7bd08a
- Backport network role PR #298 to fix problems often triggered by the CI
7bd08a
  "error: down connection failed while waiting", Resolves rhbz#1817242
7bd08a
- Disable bond test in downstream CI, it started to break DNS in RHEL 8.4.
7bd08a
  Related rhbz#1915017
7bd08a
7bd08a
* Thu Jan  7 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.0-22
7bd08a
- Rebase kdump, certificate, storage, selinux, nbde_client/server,
7bd08a
  kernel_settings in preparation for collections
7bd08a
  Includes upstream PR #168 for storage to prevent toggling encryption
7bd08a
  in safe mode, as it is a destructive operation. Resolves rhbz#1881524
7bd08a
- Introduce & use simpler macros for Sources management,
7bd08a
  similar to %%forgemeta
7bd08a
  https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/
7bd08a
- Use a script to perform prefix transformation for all roles to reduce
7bd08a
  the number of patches
7bd08a
- Rebase tlog to add exclude_{users,groups} support, Resolves rhbz#1895472
7bd08a
- Add crypto_policies role, Resolves rhbz#1893699
7bd08a
- Add sshd role, Resolves rhbz#1893696
d1299e
4eec9e
* Mon Aug 24 2020 Pavel Cahyna <pcahyna@redhat.com> - 1.0-19
4eec9e
- Rebase network role to latest upstream, resolves rhbz#1800627
4eec9e
  Drop a downstream patch with a test workaround that is not needed anymore.
4eec9e
- Fix script for role prefix transformation
4eec9e
- Rebase metrics role to pick up test changes, PR #19
4eec9e
- Rebase kernel_settings role to latest upstream, resolves rhbz#1851557
4eec9e
4eec9e
* Mon Aug 24 2020 Pavel Cahyna <pcahyna@redhat.com> - 1.0-18
4eec9e
- Rebase storage role to latest upstream, resolves rhbz#1848254, rhbz#1851654,
4eec9e
  rhbz#1862867
4eec9e
- Rebase nbde_client role to latest upstream, resolves rhbz#1851654
4eec9e
- Rebase logging role to latest upstream, resolves rhbz#1851654, rhbz#1861318
4eec9e
- Rebase metrics role to latest upstream, resolves rhbz#1869390, rhbz#1869389,
4eec9e
  rhbz#1868378
4eec9e
56e229
* Fri Aug 21 2020 Pavel Cahyna <pcahyna@redhat.com> - 1.0-17
56e229
- Rebase certificate role to latest upstream, resolves rhbz#1859547
56e229
ac6c85
* Mon Aug 10 2020 Pavel Cahyna <pcahyna@redhat.com> - 1.0-16
ac6c85
- Rebase logging role to latest upstream, resolves rhbz#1854546, rhbz#1861318,
ac6c85
  rhbz#1860896, adds test for rhbz#1850790
ac6c85
- Rebase metrics role to latest upstream, resolves rhbz#1855544, rhbz#1855539,
ac6c85
  rhbz#1848763
ac6c85
- Fix whitespace in postfix role patch
ac6c85
77f1f8
* Fri Jul 31 2020 Pavel Cahyna <pcahyna@redhat.com> - 1.0-15
77f1f8
- Rebase storage role to latest upstream, resolves rhbz#1854191, rhbz#1848250,
77f1f8
  rhbz#1850790 (including test)
77f1f8
- Rebase nbde_client role to latest upstream, adds test for rhbz#1850790
77f1f8
- Rebase certificate role to latest upstream, adds test for rhbz#1850790
77f1f8
- Rebase nbde_server role to latest upstream, resolves rhbz#1850790
77f1f8
  (including test)
77f1f8
- Rebase tlog role to latest upstream, resolves rhbz#1855424
77f1f8
- Rebase kernel_settings role to rev b8bc86b, resolves rhbz#1850790
77f1f8
- Add EL 8 to supported versions in postfix and kdump role metadata,
77f1f8
  resolves rhbz#1861661
77f1f8
b57f19
* Mon Jul 20 2020 Rich Megginson <rmeggins@redhat.com> - 1.0-14
b57f19
- Rebase certificate role to latest upstream, resolves rhbz#1858840
b57f19
b57f19
* Fri Jul 17 2020 Rich Megginson <rmeggins@redhat.com> - 1.0-13
b57f19
- Rebase certificate role to latest upstream, resolves rhbz#1858316, rhbz#1848745
b57f19
921f83
* Mon Jun 29 2020 Pavel Cahyna <pcahyna@redhat.com> - 1.0-12
921f83
- Rebase network role to latest upstream, resolves rhbz#1822777, rhbz#1848472
921f83
- Rebase logging role to latest upstream, resolves rhbz#1850790,
921f83
  rhbz#1851804, rhbz#1848762
921f83
- Rebase certificate role to latest upstream, resolves rhbz#1848742,
921f83
  rhbz#1850790
921f83
- Rebase nbde_client role to latest upstream, resolves rhbz#1848766,
921f83
  rhbz#1850790
921f83
921f83
* Mon Jun 15 2020 Pavel Cahyna <pcahyna@redhat.com> - 1.0-11
921f83
- Rebase network role to latest upstream
921f83
- Remove all the soon-unnecessary tier1 tags in test
921f83
- Add a workaround for rhbz#1800627 in test
921f83
- Modify patches to remove tier1 tags
921f83
- Add metrics, tlog, logging, kernel_settings roles
921f83
- Add nbde_client, nbde_server, certificate roles
921f83
- Rebase storage role to latest upstream: adds support for mdraid, LUKS,
921f83
  swap manangement
921f83
921f83
* Mon Oct 21 2019 Pavel Cahyna <pcahyna@redhat.com> - 1.0-10
921f83
- Add the storage_safe_mode option, true by default, to prevent accidental
921f83
  data removal: rhbz#1763242, issue #42, PR #43 and #51.
921f83
921f83
* Thu Aug 15 2019 Pavel Cahyna <pcahyna@redhat.com> - 1.0-9
921f83
- Add the storage role
921f83
921f83
* Thu Jun 13 2019 Pavel Cahyna <pcahyna@redhat.com> - 1.0-7
921f83
- Update tests for the network role
921f83
- Fix typo in a test for the timesync role
921f83
- Tag tests suitable for Tier1 testing
921f83
- Rebase the network role to add support for device features (PR#115,
921f83
  rhbz#1696703) and atomic changes (PR#119, rhbz#1695161)
921f83
- network: apply upstream PR#121: allow modifying interface attributes
921f83
  without disrupting services (rhbz#1695157)
921f83
921f83
* Wed May 29 2019 Pavel Cahyna <pcahyna@redhat.com> - 1.0-6
921f83
- Rebase the selinux role, fixes typo in tests, uncovered by Ansible 2.7,
921f83
  (rhbz#1677743) and lists all input variables in defaults
921f83
  to make Satellite aware of them (rhbz#1674004, PR#43)
921f83
- Rebase the kdump role to fix check mode problems: rhbz#1685904
921f83
- Rebase the timesync role: fixes check mode problems (rhbz#1685904)
921f83
  and lists all input variables in defaults (rhbz#1674004)
921f83
- Rebase the network role: keeps the interface up for state: up
921f83
  if persistent_state is absent and solves problems with defining
921f83
  VLAN and MACVLAN interface types (issue #19) (rhbz#1685902)
921f83
921f83
* Sat Jan 12 2019 Pavel Cahyna <pcahyna@redhat.com> - 1.0-5
921f83
- spec file improvement: Unify the source macros with deftag() and defcommit()
921f83
- Update to upstream released versions and drop unnecessary patches.
921f83
- Unify the spec file with Fedora (no functional changes intended).
921f83
- Misc spec file comments fixes (by Mike DePaulo)
921f83
- Fix rpmlint error by escaping a previous changelog entry with a macro (by Mike DePaulo)
921f83
- Comply with Fedora guidelines by always using "cp -p" in %%install (by Mike DePaulo)
921f83
- Rebase network role - doc improvements, Fedora 29 and Ansible 2.7 support
921f83
- Regenerate network role patch to apply without offset
921f83
- Rebase kdump role to fix a forgotten edit, rhbz#1645633
921f83
- Update timesync examples: add var prefix (rhbz#1642152), correct role prefix
921f83
- Add Obsoletes for the -techpreview subpackage
921f83
- Add warnings to role READMEs and other doc updates, rhbz#1616018
921f83
- network: split the state setting into state and persistent_state, rhbz#1616014
921f83
- depend on python-jmespath as Ansible will not ship it, rhbz#1660559
921f83
921f83
* Tue Aug 14 2018 Pavel Cahyna <pcahyna@redhat.com> - 1.0-4
921f83
- Format the READMEs as html, by vdolezal, with changes to use highlight
921f83
  (source-highlight does not understand YAML)
921f83
921f83
* Thu Aug  9 2018 Pavel Cahyna <pcahyna@redhat.com> - 1.0-3
921f83
- Rebase the network role to the last revision (d866422).
921f83
  Many improvements to tests, introduces autodetection of the current provider
921f83
  and defaults to using profile name as interface name.
921f83
- Rebase the selinux, timesync and kdump roles to their 1.0rc1 versions.
921f83
  Many changes to the role interfaces to make them more consistent
921f83
  and conforming to Ansible best practices.
921f83
- Update the description.
921f83
921f83
* Fri May 11 2018 Pavel Cahyna <pcahyna@redhat.com> - 0.6-4
921f83
- Fix complaints about /usr/bin/python during RPM build by making the affected scripts non-exec
921f83
- Fix merge botch
921f83
921f83
* Mon Mar 19 2018 Troy Dawson <tdawson@redhat.com> - 0.6-3.1
8d0a7f
- Use -a (after cd) instead of -b (before cd) in %%setup
921f83
921f83
* Wed Mar 14 2018 Pavel Cahyna <pcahyna@redhat.com> - 0.6-3
921f83
- Minor corrections of the previous change by Till Maas.
921f83
921f83
* Fri Mar  9 2018 Pavel Cahyna <pcahyna@redhat.com> - 0.6-2
921f83
- Document network role options: static routes, ethernet, dns
921f83
  Upstream PR#36, bz1550128, documents bz1487747 and bz1478576
921f83
921f83
* Tue Jan 30 2018 Pavel Cahyna <pcahyna@redhat.com> - 0.6-1
921f83
- Drop hard dependency on ansible (#1525655), patch from Yaakov Selkowitz
921f83
- Update the network role to version 0.4, solves bz#1487747, bz#1478576
921f83
921f83
* Tue Dec 19 2017 Pavel Cahyna <pcahyna@redhat.com> - 0.5-3
921f83
- kdump: fix the wrong conditional for ssh checking and improve test (PR#10)
921f83
921f83
* Tue Nov 07 2017 Pavel Cahyna <pcahyna@redhat.com> - 0.5-2
921f83
- kdump: add ssh support. upstream PR#9, rhbz1478707
921f83
921f83
* Tue Oct 03 2017 Pavel Cahyna <pcahyna@redhat.com> - 0.5-1
921f83
- SELinux: fix policy reload when SELinux is disabled on CentOS/RHEL 6
921f83
  (bz#1493574)
921f83
- network: update to b856c7481bf5274d419f71fb62029ea0044b3ec1 :
921f83
  makes the network role idempotent (bz#1476053) and fixes manual
921f83
  network provider selection (bz#1485074).
921f83
921f83
* Mon Aug 28 2017 Pavel Cahyna <pcahyna@redhat.com> - 0.4-1
921f83
- network: update to b9b6f0a7969e400d8d6ba0ac97f69593aa1e8fa5:
921f83
  ensure that state:absent followed by state:up works (bz#1478910), and change
921f83
  the example IP adresses to the IANA-assigned ones.
921f83
- SELinux: fix the case when SELinux is disabled (bz#1479546).
921f83
921f83
* Tue Aug 8 2017 Pavel Cahyna <pcahyna@redhat.com> - 0.3-2
921f83
- We can't change directories to symlinks (rpm bug #447156) so keep the old
921f83
  names and create the new names as symlinks.
921f83
921f83
* Tue Aug 8 2017 Pavel Cahyna <pcahyna@redhat.com> - 0.3-1
921f83
- Change the prefix to linux-system-roles., keeping compatibility
921f83
  symlinks.
921f83
- Update the network role to dace7654feb7b5629ded0734c598e087c2713265:
921f83
  adds InfiniBand support and other fixes.
921f83
- Drop a patch included upstream.
921f83
921f83
* Mon Jun 26 2017 Pavel Cahyna <pcahyna@redhat.com> - 0.2-2
921f83
- Leave a copy of README and COPYING in every role's directory, as suggested by T. Bowling.
921f83
- Move the network example inventory to the documentation directory together.
921f83
  with the example playbooks and delete the now empty "examples" directory.
921f83
- Use proper reserved (by RFC 7042) MAC addresses in the network examples.
921f83
921f83
* Tue Jun 6 2017 Pavel Cahyna <pcahyna@redhat.com> - 0.2-1
921f83
- Update the networking role to version 0.2 (#1459203)
921f83
- Version every role and the package separately. They live in separate repos
921f83
  and upstream release tags are not coordinated.
921f83
921f83
* Mon May 22 2017 Pavel Cahyna <pcahyna@redhat.com> - 0.1-2
921f83
- Prefix the roles in examples and documentation with rhel-system-roles.
921f83
921f83
* Thu May 18 2017 Pavel Cahyna <pcahyna@redhat.com> - 0.1-1
921f83
- Update to 0.1 (first upstream release).
921f83
- Remove the tuned role, it is not ready yet.
921f83
- Move the example playbooks to /usr/share/doc/rhel-system-roles/$SUBSYSTEM
921f83
  directly to get rid of an extra directory.
921f83
- Depend on ansible.
921f83
921f83
* Thu May 4 2017  Pavel Cahyna <pcahyna@redhat.com> - 0-0.1.20170504
921f83
- Initial release.
921f83
- kdump r. fe8bb81966b60fa8979f3816a12b0c7120d71140
921f83
- postfix r. 43eec5668425d295dce3801216c19b1916df1f9b
921f83
- selinux r. 1e4a21f929455e5e76dda0b12867abaa63795ae7
921f83
- timesync r. 33a1a8c349de10d6281ed83d4c791e9177d7a141
921f83
- tuned r. 2e8bb068b9815bc84287e9b6dc6177295ffdf38b
921f83
- network r. 03ff040df78a14409a0d89eba1235b8f3e50a750
921f83