Blame SPECS/ansible-freeipa.spec

234326
# Turn off automatic python byte compilation because these are Ansible
234326
# roles and the files are transferred to the node and compiled there with
234326
# the python verison used in the node
234326
%define __brp_python_bytecompile %{nil}
234326
234326
Summary: Roles and playbooks to deploy FreeIPA servers, replicas and clients
234326
Name: ansible-freeipa
234326
Version: 0.1.4
234326
Release: 1%{?dist}
234326
URL: https://github.com/freeipa/ansible-freeipa
234326
License: GPLv3+
234326
Source: https://github.com/freeipa/ansible-freeipa/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
234326
BuildArch: noarch
234326
234326
#Requires: ansible
234326
234326
%description
234326
ansible-freeipa provides Ansible roles and playbooks to install and uninstall
234326
FreeIPA servers, replicas and clients.
234326
234326
Note: The ansible playbooks and roles require a configured ansible environment
234326
where the ansible nodes are reachable and are properly set up to have an IP
234326
address and a working package manager.
234326
234326
Features
234326
234326
- Server, replica and client deployment
234326
- Cluster deployments: Server, replicas and clients in one playbook
234326
- One-time-password (OTP) support for client installation
234326
- Repair mode for clients
234326
234326
Supported FreeIPA Versions
234326
234326
FreeIPA versions 4.6 and up are supported by all roles.
234326
234326
The client role supports versions 4.4 and up, the server role is working with
234326
versions 4.5 and up, the replica role is currently only working with versions
234326
4.6 and up.
234326
234326
Supported Distributions
234326
234326
- RHEL/CentOS 7.4+
234326
- Fedora 26+
234326
- Ubuntu
234326
234326
Requirements
234326
234326
  Controller
234326
  - Ansible version: 2.5+
234326
  - python3-gssapi is required on the controller if a one time password (OTP)
234326
    is used to install the client.
234326
234326
  Node
234326
  - Supported FreeIPA version (see above)
234326
  - Supported distribution (needed for package installation only, see above)
234326
234326
Limitations
234326
234326
External CA support is not supported or working. The currently needed two step
234326
process is an issue for the processing in the role. The configuration of the
234326
server is partly done already and needs to be continued after the CSR has been
234326
handled. This is for example breaking the deployment of a server with replicas
234326
or clients in one playbook.
234326
234326
%prep
234326
%setup -q
234326
# Fix python modules and module utils:
234326
# - Remove shebang
234326
# - Remove execute flag
234326
for i in roles/ipa*/library/*.py roles/ipa*/module_utils/*.py plugins/*/*.py; do
234326
    sed -i '/\/usr\/bin\/python*/d' $i
234326
    chmod a-x $i
234326
done
234326
# Add execute flag to py3test.py scripts
234326
chmod a+x roles/ipa*/files/py3test.py
234326
234326
%build
234326
234326
%install
234326
install -m 755 -d %{buildroot}%{_datadir}/ansible/roles/
234326
cp -rp roles/ipaserver %{buildroot}%{_datadir}/ansible/roles/
234326
cp -rp roles/ipaserver/README.md README-server.md
234326
cp -rp roles/ipareplica %{buildroot}%{_datadir}/ansible/roles/
234326
cp -rp roles/ipareplica/README.md README-replica.md
234326
cp -rp roles/ipaclient %{buildroot}%{_datadir}/ansible/roles/
234326
cp -rp roles/ipaclient/README.md README-client.md
234326
install -m 755 -d %{buildroot}%{_datadir}/ansible/plugins/
234326
cp -rp plugins/* %{buildroot}%{_datadir}/ansible/plugins/
234326
234326
%files
234326
%license COPYING
234326
%{_datadir}/ansible/roles/ipaserver
234326
%{_datadir}/ansible/roles/ipareplica
234326
%{_datadir}/ansible/roles/ipaclient
234326
%{_datadir}/ansible/plugins/module_utils
234326
%{_datadir}/ansible/plugins/modules
234326
%doc README.md
234326
%doc README-topology.md
234326
%doc README-server.md
234326
%doc README-replica.md
234326
%doc README-client.md
234326
%doc playbooks
234326
234326
%changelog
234326
* Mon Jun 17 2019 Thomas Woerner <twoerner@redhat.com> - 0.1.4-1
234326
- update to version 0.1.4
234326
  - ipatopologysegment: Use commands, not command
234326
234326
* Mon Jun 17 2019 Thomas Woerner <twoerner@redhat.com> - 0.1.3-1
234326
- update to version 0.1.3
234326
  - ipaclient_test: Fix Python2 decode use with Python3
234326
  - Fixed: #86 (AttributeError: 'str' object has no attribute 'decode')
234326
  - ipaclient_get_otp: Remove ansible_python_interpreter handling
234326
  - ipaclient: Use omit (None) for password, keytab, no string length checks
234326
  - ipaclient_join: Support to use ipaadmin_keytab without ipaclient_use_otp
234326
  - ipaclient: Report error message if ipaclient_get_otp failed
234326
  - Fixes #17 Improve how tasks manage package installation
234326
  - ipareplica: The dm password is not needed for ipareplica_master_password
234326
  - ipareplica: Use ipareplica_server if set
234326
  - ipatopologysegment: Allow domain+ca suffix, new state: checked
234326
  - Documentation updates
234326
  - Cleanups
234326
234326
* Tue Jun 11 2019 Thomas Woerner <twoerner@redhat.com> - 0.1.2-3
234326
- bump release for functional test
234326
234326
* Tue Jun 11 2019 Thomas Woerner <twoerner@redhat.com> - 0.1.2-2
234326
- bump release for functional test
234326
234326
* Fri Jun  7 2019 Thomas Woerner <twoerner@redhat.com> - 0.1.2-1
234326
- update to version 0.1.2
234326
  - Now a new Ansible Collection
234326
  - Fix gssapi requirement for OTP: It is only needed if keytab is used with
234326
    OTP now.
234326
  - Fix wrong ansible argument types
234326
  - Do not fail on textwrap for replica deployments with CA
234326
  - Ansible lint and galaxy fixes
234326
  - Disable automatic removal of replication agreements in uninstall
234326
  - Enable freeipa-trust service if adtrust is enabled
234326
  - Add support for hidden replica
234326
  - New topology managament modules
234326
  - Add support for pki_config_override
234326
  - Fix host name setup in server deployment
234326
  - Fix errors when ipaservers variable is not set
234326
  - Fix ipaclient install role length typo
234326
  - Cleanups
234326
  
234326
* Mon May  6 2019 Thomas Woerner <twoerner@redhat.com> - 0.1.1-1
234326
- Initial package