import ansible-freeipa-0.4.0-1.el9
This commit is contained in:
parent
9173f1cc71
commit
c1cef366d8
@ -1 +1 @@
|
|||||||
1d86f49f014b14a569969b4f859fb017f26de285 SOURCES/ansible-freeipa-0.3.8.tar.gz
|
6099fecbdf0512c93344f6f1c63811ce8c207c30 SOURCES/ansible-freeipa-0.4.0.tar.gz
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/ansible-freeipa-0.3.8.tar.gz
|
SOURCES/ansible-freeipa-0.4.0.tar.gz
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
From 545d1c742231ea3151a6b0474de4c198dcbc8604 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Thomas Woerner <twoerner@redhat.com>
|
|
||||||
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
|
|
||||||
|
|
@ -7,12 +7,11 @@
|
|||||||
|
|
||||||
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.3.8
|
Version: 0.4.0
|
||||||
Release: 3%{?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
|
||||||
Patch1: ansible-freeipa-0.3.8-Replace-json_query-in-tests-user-test_users_absent.y_rhbz#1992997.patch
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
|
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
|
||||||
Requires: ansible-core
|
Requires: ansible-core
|
||||||
@ -107,7 +106,6 @@ 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
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
# Fix python modules and module utils:
|
# Fix python modules and module utils:
|
||||||
# - Remove shebang
|
# - Remove shebang
|
||||||
@ -151,6 +149,7 @@ cp -rp tests %{buildroot}%{_datadir}/ansible-freeipa/
|
|||||||
%{_datadir}/ansible/roles/ipareplica
|
%{_datadir}/ansible/roles/ipareplica
|
||||||
%{_datadir}/ansible/roles/ipaclient
|
%{_datadir}/ansible/roles/ipaclient
|
||||||
%{_datadir}/ansible/roles/ipabackup
|
%{_datadir}/ansible/roles/ipabackup
|
||||||
|
%{_datadir}/ansible/plugins/doc_fragments
|
||||||
%{_datadir}/ansible/plugins/module_utils
|
%{_datadir}/ansible/plugins/module_utils
|
||||||
%{_datadir}/ansible/plugins/modules
|
%{_datadir}/ansible/plugins/modules
|
||||||
%doc README*.md
|
%doc README*.md
|
||||||
@ -164,6 +163,15 @@ cp -rp tests %{buildroot}%{_datadir}/ansible-freeipa/
|
|||||||
%{_datadir}/ansible-freeipa/requirements-tests.txt
|
%{_datadir}/ansible-freeipa/requirements-tests.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 5 2021 Thomas Woerner <twoerner@redhat.com> - 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 <twoerner@redhat.com> - 0.3.8-3
|
* Mon Aug 16 2021 Thomas Woerner <twoerner@redhat.com> - 0.3.8-3
|
||||||
- Add requirement for ansible-core
|
- Add requirement for ansible-core
|
||||||
Resolves: RHBZ#1993857
|
Resolves: RHBZ#1993857
|
||||||
|
Loading…
Reference in New Issue
Block a user