- Update to version 0.2.1

https://github.com/freeipa/ansible-freeipa/releases/tag/v0.2.1
- Update to version 0.2.0
  https://github.com/freeipa/ansible-freeipa/releases/tag/v0.2.0
- New tests sub package providing upstream tests
- Utils in /usr/share/ansible-freeipa/utils
This commit is contained in:
Thomas Woerner 2020-10-09 15:40:06 +02:00
parent 7cebb5ea86
commit 9fefeb5a0c
3 changed files with 53 additions and 11 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/ansible-freeipa-0.1.10.tar.gz /ansible-freeipa-0.1.10.tar.gz
/ansible-freeipa-0.1.11.tar.gz /ansible-freeipa-0.1.11.tar.gz
/ansible-freeipa-0.1.12.tar.gz /ansible-freeipa-0.1.12.tar.gz
/ansible-freeipa-0.2.1.tar.gz

View File

@ -1,23 +1,22 @@
# Turn off automatic python byte compilation because these are Ansible # Turn off automatic python byte compilation because these are Ansible
# roles and the files are transferred to the node and compiled there with # roles and the files are transferred to the node and compiled there with
# the python verison used in the node # the python version used in the node
%define __brp_python_bytecompile %{nil} %define __brp_python_bytecompile %{nil}
%global python %{__python3}
Summary: Roles and playbooks to deploy FreeIPA servers, replicas and clients Summary: Roles and playbooks to deploy FreeIPA servers, replicas and clients
Name: ansible-freeipa Name: ansible-freeipa
Version: 0.1.12 Version: 0.2.1
Release: 2%{?dist} Release: 1%{?dist}
URL: https://github.com/freeipa/ansible-freeipa URL: https://github.com/freeipa/ansible-freeipa
License: GPLv3+ License: GPLv3+
Source: https://github.com/freeipa/ansible-freeipa/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source: https://github.com/freeipa/ansible-freeipa/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
#Requires: ansible
%description %description
ansible-freeipa provides Ansible roles and playbooks to install and uninstall ansible-freeipa provides Ansible roles and playbooks to install and uninstall
FreeIPA servers, replicas and clients. Also modules for group, host, topology FreeIPA servers, replicas and clients. Also modules for management.
and user management.
Note: The ansible playbooks and roles require a configured ansible environment Note: The ansible playbooks and roles require a configured ansible environment
where the ansible nodes are reachable and are properly set up to have an IP where the ansible nodes are reachable and are properly set up to have an IP
@ -29,6 +28,9 @@ Features
- Cluster deployments: Server, replicas and clients in one playbook - Cluster deployments: Server, replicas and clients in one playbook
- One-time-password (OTP) support for client installation - One-time-password (OTP) support for client installation
- Repair mode for clients - Repair mode for clients
- Modules for config management
- Modules for delegation management
- Modules for dns config management
- Modules for dns forwarder management - Modules for dns forwarder management
- Modules for dns record management - Modules for dns record management
- Modules for dns zone management - Modules for dns zone management
@ -38,12 +40,17 @@ Features
- Modules for hbacsvcgroup management - Modules for hbacsvcgroup management
- Modules for host management - Modules for host management
- Modules for hostgroup management - Modules for hostgroup management
- Modules for location management
- Modules for privilege management
- Modules for pwpolicy management - Modules for pwpolicy management
- Modules for role management
- Modules for self service management
- Modules for service management - Modules for service management
- Modules for sudocmd management - Modules for sudocmd management
- Modules for sudocmdgroup management - Modules for sudocmdgroup management
- Modules for sudorule management - Modules for sudorule management
- Modules for topology management - Modules for topology management
- Modules fot trust management
- Modules for user management - Modules for user management
- Modules for vault management - Modules for vault management
@ -85,6 +92,17 @@ Work is planned to have a new method to handle CSR for external signed CAs in
a separate step before starting the server installation. a separate step before starting the server installation.
%package tests
Summary: ansible-freeipa tests
Requires: %{name} = %{version}-%{release}
%description tests
ansible-freeipa tests.
Please have a look at %{_datadir}/ansible-freeipa/requirements-tests.txt
to get the needed requrements to run the tests.
%prep %prep
%setup -q %setup -q
# Do not create backup files with patches # Do not create backup files with patches
@ -92,11 +110,13 @@ a separate step before starting the server installation.
# - Remove shebang # - Remove shebang
# - Remove execute flag # - Remove execute flag
for i in roles/ipa*/library/*.py roles/ipa*/module_utils/*.py plugins/*/*.py; do for i in roles/ipa*/library/*.py roles/ipa*/module_utils/*.py plugins/*/*.py; do
sed -i '/\/usr\/bin\/python*/d' $i sed -i '1{/\/usr\/bin\/python*/d;}' $i
chmod a-x $i chmod a-x $i
done done
# Add execute flag to py3test.py scripts
chmod a+x roles/ipa*/files/py3test.py for i in utils/*.py utils/ansible-ipa-*-install utils/new_module; do
sed -i '{s@/usr/bin/python*@%{python}@}' $i
done
%build %build
@ -111,6 +131,12 @@ cp -rp roles/ipaclient/README.md README-client.md
install -m 755 -d %{buildroot}%{_datadir}/ansible/plugins/ install -m 755 -d %{buildroot}%{_datadir}/ansible/plugins/
cp -rp plugins/* %{buildroot}%{_datadir}/ansible/plugins/ cp -rp plugins/* %{buildroot}%{_datadir}/ansible/plugins/
install -m 755 -d %{buildroot}%{_datadir}/ansible-freeipa
cp requirements*.txt %{buildroot}%{_datadir}/ansible-freeipa/
cp -rp utils %{buildroot}%{_datadir}/ansible-freeipa/
install -m 755 -d %{buildroot}%{_datadir}/ansible-freeipa/tests
cp -rp tests %{buildroot}%{_datadir}/ansible-freeipa/
%files %files
%license COPYING %license COPYING
%{_datadir}/ansible/roles/ipaserver %{_datadir}/ansible/roles/ipaserver
@ -120,8 +146,23 @@ cp -rp plugins/* %{buildroot}%{_datadir}/ansible/plugins/
%{_datadir}/ansible/plugins/modules %{_datadir}/ansible/plugins/modules
%doc README*.md %doc README*.md
%doc playbooks %doc playbooks
%{_datadir}/ansible-freeipa/requirements.txt
%{_datadir}/ansible-freeipa/requirements-dev.txt
%{_datadir}/ansible-freeipa/utils
%files tests
%{_datadir}/ansible-freeipa/tests
%{_datadir}/ansible-freeipa/requirements-tests.txt
%changelog %changelog
* Fri Oct 09 2020 Thomas Woerner <twoerner@redhat.com> - 0.2.1-1
- Update to version 0.2.1
https://github.com/freeipa/ansible-freeipa/releases/tag/v0.2.1
- Update to version 0.2.0
https://github.com/freeipa/ansible-freeipa/releases/tag/v0.2.0
- New tests sub package providing upstream tests
- Utils in /usr/share/ansible-freeipa/utils
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.12-2 * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (ansible-freeipa-0.1.12.tar.gz) = 63268388f4c66e50993f275a9b55868adf99f9fae6c97f1f907db06d24492a2a24d8260af0f439cdbb87d13c9066ccbadf95b8f9c908539ff9c3bfcc435cd886 SHA512 (ansible-freeipa-0.2.1.tar.gz) = bd52e79117f6120e9f1ba256fcfd3d33c6e1405156d02083cc20e1891cf1169fd4b1c65643bb6bd409ad70b9adfd7b745d5f9175e84fb8a7dd1a72ada5b1dd53