diff --git a/.ansible-freeipa.metadata b/.ansible-freeipa.metadata index a2316e2..3ffd884 100644 --- a/.ansible-freeipa.metadata +++ b/.ansible-freeipa.metadata @@ -1 +1 @@ -1d86f49f014b14a569969b4f859fb017f26de285 SOURCES/ansible-freeipa-0.3.8.tar.gz +6099fecbdf0512c93344f6f1c63811ce8c207c30 SOURCES/ansible-freeipa-0.4.0.tar.gz diff --git a/.gitignore b/.gitignore index 4ecd66b..7e1bbf4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/ansible-freeipa-0.3.8.tar.gz +SOURCES/ansible-freeipa-0.4.0.tar.gz diff --git a/SOURCES/ansible-freeipa-0.3.8-Replace-json_query-in-tests-user-test_users_absent.y_rhbz#1992997.patch b/SOURCES/ansible-freeipa-0.3.8-Replace-json_query-in-tests-user-test_users_absent.y_rhbz#1992997.patch deleted file mode 100644 index bbdc232..0000000 --- a/SOURCES/ansible-freeipa-0.3.8-Replace-json_query-in-tests-user-test_users_absent.y_rhbz#1992997.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 545d1c742231ea3151a6b0474de4c198dcbc8604 Mon Sep 17 00:00:00 2001 -From: Thomas Woerner -Date: Wed, 11 Aug 2021 11:24:36 +0200 -Subject: [PATCH] Replace json_query in tests/user/test_users_absent.yml - -json_query is not part of Ansible Core. As this is the only used module -that is not in Core it has been replaced by constructig a new dict with -the needed user names from users dict using a loop and set_fact. ---- - tests/user/test_users_absent.yml | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/tests/user/test_users_absent.yml b/tests/user/test_users_absent.yml -index 752b241..d211816 100644 ---- a/tests/user/test_users_absent.yml -+++ b/tests/user/test_users_absent.yml -@@ -12,8 +12,13 @@ - include_vars: - file: users.json - -+ - name: Create dict with user names -+ set_fact: -+ user_names: "{{ user_names | default([]) + [{ 'name': item.name }] }}" -+ loop: "{{ users }}" -+ - - name: Users absent len:{{ users | length }} - ipauser: - ipaadmin_password: SomeADMINpassword -- users: "{{ users | json_query('[*].{name: name}') }}" -+ users: "{{ user_names }}" - state: absent --- -2.31.1 - diff --git a/SPECS/ansible-freeipa.spec b/SPECS/ansible-freeipa.spec index d116e14..e66a1dd 100644 --- a/SPECS/ansible-freeipa.spec +++ b/SPECS/ansible-freeipa.spec @@ -7,12 +7,11 @@ Summary: Roles and playbooks to deploy FreeIPA servers, replicas and clients Name: ansible-freeipa -Version: 0.3.8 -Release: 3%{?dist} +Version: 0.4.0 +Release: 1%{?dist} URL: https://github.com/freeipa/ansible-freeipa License: GPLv3+ Source: https://github.com/freeipa/ansible-freeipa/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Patch1: ansible-freeipa-0.3.8-Replace-json_query-in-tests-user-test_users_absent.y_rhbz#1992997.patch BuildArch: noarch %if 0%{?fedora} >= 35 || 0%{?rhel} >= 9 Requires: ansible-core @@ -107,7 +106,6 @@ to get the needed requrements to run the tests. %prep %setup -q # Do not create backup files with patches -%patch1 -p1 # Fix python modules and module utils: # - Remove shebang @@ -151,6 +149,7 @@ cp -rp tests %{buildroot}%{_datadir}/ansible-freeipa/ %{_datadir}/ansible/roles/ipareplica %{_datadir}/ansible/roles/ipaclient %{_datadir}/ansible/roles/ipabackup +%{_datadir}/ansible/plugins/doc_fragments %{_datadir}/ansible/plugins/module_utils %{_datadir}/ansible/plugins/modules %doc README*.md @@ -164,6 +163,15 @@ cp -rp tests %{buildroot}%{_datadir}/ansible-freeipa/ %{_datadir}/ansible-freeipa/requirements-tests.txt %changelog +* Tue Oct 5 2021 Thomas Woerner - 0.4.0-1 +- Update to version 0.4.0 + https://github.com/freeipa/ansible-freeipa/releases/tag/v0.4.0 + Resolves: RHBZ#2010622 +- Add ability to run modules remotely + Resolves: RHBZ#2010633 +- New management module ipaautomountlocation + Resolves: RHBZ#2010643 + * Mon Aug 16 2021 Thomas Woerner - 0.3.8-3 - Add requirement for ansible-core Resolves: RHBZ#1993857