Blame SPECS/rhel-system-roles.spec

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