- Update to version 0.1.6
- Lots of documentation updates in READMEs and modules - library/ipaclient_get_otp: Enable force mode for host_add call (fixes #74) - Flake8 and pylint reated fixes - Fixed wrong path to CheckedIPAddress class in ipareplica_test - Remove unused ipaserver/library/ipaserver.py - No not use wildcard imports for modules - ipareplica: Add support for pki_config_override - ipareplica: Initialize dns.ip_addresses and dns.reverse_zones for dns setup - ipareplica_prepare: Properly initialize pin and cert_name variables - ipareplica: Fail with proper error messages - ipaserver: Properly set settings related to pkcs12 files - ipaclient: RawConfigParser is not always provided by six.moves.configparser - ipaclient_setup_nss: paths.GETENT is not available before freeipa-4.6.90.pre1 - ipaserver_test: Initialize value from options.zonemgr - ipareplica_setup_custodia: create_replica only available in newer releases - ipaclient: Fix typo in dnsok assignment for ipaclient_setup_nss - ipa[server,replica]: Set _packages_adtrust for Ubuntu - New build script for galaxy release - New utils script to update module docs
This commit is contained in:
parent
1904aa21e1
commit
13bf858874
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/ansible-freeipa-0.1.1.tar.gz
|
||||
/ansible-freeipa-0.1.5.tar.gz
|
||||
/ansible-freeipa-0.1.6.tar.gz
|
||||
|
@ -1,104 +0,0 @@
|
||||
From 00862d9709936d70be246573d3e1bd7a7cfcb180 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Woerner <twoerner@redhat.com>
|
||||
Date: Tue, 9 Jul 2019 11:46:51 +0200
|
||||
Subject: [PATCH 1/2] Update README-user.md: Fixed examples, new example for
|
||||
unlocked
|
||||
|
||||
---
|
||||
README-user.md | 35 ++++++++++++++++++++++++++---------
|
||||
1 file changed, 26 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/README-user.md b/README-user.md
|
||||
index 0467efc..8590d61 100644
|
||||
--- a/README-user.md
|
||||
+++ b/README-user.md
|
||||
@@ -83,16 +83,16 @@ Example playbook to delete a user, but preserve it:
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- # Remove user pinky and brain
|
||||
+ # Remove but preserve user pinky
|
||||
- ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
name: pinky
|
||||
preserve: yes
|
||||
- state: disabled
|
||||
+ state: absent
|
||||
```
|
||||
|
||||
|
||||
-Example playbook to undelete a user.
|
||||
+Example playbook to undelete a preserved user.
|
||||
|
||||
```yaml
|
||||
---
|
||||
@@ -101,7 +101,7 @@ Example playbook to undelete a user.
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- # Remove user pinky and brain
|
||||
+ # Undelete preserved user pinky
|
||||
- ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
name: pinky
|
||||
@@ -118,7 +118,7 @@ Example playbook to disable a user:
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- # Remove user pinky and brain
|
||||
+ # Disable user pinky
|
||||
- ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
name: pinky
|
||||
@@ -126,7 +126,7 @@ Example playbook to disable a user:
|
||||
```
|
||||
|
||||
|
||||
-Example playbook to enable a users:
|
||||
+Example playbook to enable users:
|
||||
|
||||
```yaml
|
||||
---
|
||||
@@ -135,11 +135,28 @@ Example playbook to enable a users:
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- # Remove user pinky and brain
|
||||
+ # Enable user pinky and brain
|
||||
- ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
name: pinky,brain
|
||||
- state: disabled
|
||||
+ state: enabled
|
||||
+```
|
||||
+
|
||||
+
|
||||
+Example playbook to unlock users:
|
||||
+
|
||||
+```yaml
|
||||
+---
|
||||
+- name: Playbook to handle users
|
||||
+ hosts: ipaserver
|
||||
+ become: true
|
||||
+
|
||||
+ tasks:
|
||||
+ # Unlock user pinky and brain
|
||||
+ - ipauser:
|
||||
+ ipaadmin_password: MyPassword123
|
||||
+ name: pinky,brain
|
||||
+ state: unlocked
|
||||
```
|
||||
|
||||
|
||||
@@ -156,7 +173,7 @@ Example playbook to delete users:
|
||||
- ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
name: pinky,brain
|
||||
- state: disabled
|
||||
+ state: absent
|
||||
```
|
||||
|
||||
|
||||
--
|
||||
2.21.0
|
||||
|
@ -1,63 +0,0 @@
|
||||
From e63b5759b3771e3531bf68943b49fc19c41afa79 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Woerner <twoerner@redhat.com>
|
||||
Date: Tue, 9 Jul 2019 11:49:50 +0200
|
||||
Subject: [PATCH 2/2] ipauser exmaple playbooks: More updates
|
||||
|
||||
---
|
||||
playbooks/user/delete-preserve-user.yml | 2 +-
|
||||
playbooks/user/delete-user.yml | 2 +-
|
||||
playbooks/user/enable-user.yml | 2 +-
|
||||
playbooks/user/unlock-users.yml | 11 +++++++++++
|
||||
4 files changed, 14 insertions(+), 3 deletions(-)
|
||||
create mode 100644 playbooks/user/unlock-users.yml
|
||||
|
||||
diff --git a/playbooks/user/delete-preserve-user.yml b/playbooks/user/delete-preserve-user.yml
|
||||
index e366e11..c202b15 100644
|
||||
--- a/playbooks/user/delete-preserve-user.yml
|
||||
+++ b/playbooks/user/delete-preserve-user.yml
|
||||
@@ -9,4 +9,4 @@
|
||||
ipaadmin_password: MyPassword123
|
||||
name: pinky
|
||||
preserve: yes
|
||||
- state: disabled
|
||||
+ state: absent
|
||||
diff --git a/playbooks/user/delete-user.yml b/playbooks/user/delete-user.yml
|
||||
index 0cf9b79..101a2b4 100644
|
||||
--- a/playbooks/user/delete-user.yml
|
||||
+++ b/playbooks/user/delete-user.yml
|
||||
@@ -8,4 +8,4 @@
|
||||
ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
name: pinky
|
||||
- state: disabled
|
||||
+ state: absent
|
||||
diff --git a/playbooks/user/enable-user.yml b/playbooks/user/enable-user.yml
|
||||
index 8d036f2..dfbba49 100644
|
||||
--- a/playbooks/user/enable-user.yml
|
||||
+++ b/playbooks/user/enable-user.yml
|
||||
@@ -8,4 +8,4 @@
|
||||
ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
name: pinky
|
||||
- state: disabled
|
||||
+ state: enabled
|
||||
diff --git a/playbooks/user/unlock-users.yml b/playbooks/user/unlock-users.yml
|
||||
new file mode 100644
|
||||
index 0000000..337e97f
|
||||
--- /dev/null
|
||||
+++ b/playbooks/user/unlock-users.yml
|
||||
@@ -0,0 +1,11 @@
|
||||
+---
|
||||
+- name: Playbook to handle users
|
||||
+ hosts: ipaserver
|
||||
+ become: true
|
||||
+
|
||||
+ tasks:
|
||||
+ - name: Unlock users pinky and brain
|
||||
+ ipauser:
|
||||
+ ipaadmin_password: MyPassword123
|
||||
+ name: pinky,brain
|
||||
+ state: unlocked
|
||||
--
|
||||
2.21.0
|
||||
|
@ -5,13 +5,11 @@
|
||||
|
||||
Summary: Roles and playbooks to deploy FreeIPA servers, replicas and clients
|
||||
Name: ansible-freeipa
|
||||
Version: 0.1.5
|
||||
Release: 2%{?dist}
|
||||
Version: 0.1.6
|
||||
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: 0001-Update-README-user.md-Fixed-examples-new-example-for.patch
|
||||
Patch2: 0002-ipauser-exmaple-playbooks-More-updates.patch
|
||||
BuildArch: noarch
|
||||
|
||||
#Requires: ansible
|
||||
@ -67,8 +65,6 @@ or clients in one playbook.
|
||||
%prep
|
||||
%setup -q
|
||||
# Do not create backup files with patches
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
# Fix python modules and module utils:
|
||||
# - Remove shebang
|
||||
# - Remove execute flag
|
||||
@ -103,6 +99,29 @@ cp -rp plugins/* %{buildroot}%{_datadir}/ansible/plugins/
|
||||
%doc playbooks
|
||||
|
||||
%changelog
|
||||
* Tue Jul 23 2019 Thomas Woerner <twoerner@redhat.com> - 0.1.6-1
|
||||
- Update to version 0.1.6
|
||||
- Lots of documentation updates in READMEs and modules
|
||||
- library/ipaclient_get_otp: Enable force mode for host_add call (fixes #74)
|
||||
- Flake8 and pylint reated fixes
|
||||
- Fixed wrong path to CheckedIPAddress class in ipareplica_test
|
||||
- Remove unused ipaserver/library/ipaserver.py
|
||||
- No not use wildcard imports for modules
|
||||
- ipareplica: Add support for pki_config_override
|
||||
- ipareplica: Initialize dns.ip_addresses and dns.reverse_zones for dns setup
|
||||
- ipareplica_prepare: Properly initialize pin and cert_name variables
|
||||
- ipareplica: Fail with proper error messages
|
||||
- ipaserver: Properly set settings related to pkcs12 files
|
||||
- ipaclient: RawConfigParser is not always provided by six.moves.configparser
|
||||
- ipaclient_setup_nss: paths.GETENT is not available before
|
||||
freeipa-4.6.90.pre1
|
||||
- ipaserver_test: Initialize value from options.zonemgr
|
||||
- ipareplica_setup_custodia: create_replica only available in newer releases
|
||||
- ipaclient: Fix typo in dnsok assignment for ipaclient_setup_nss
|
||||
- ipa[server,replica]: Set _packages_adtrust for Ubuntu
|
||||
- New build script for galaxy release
|
||||
- New utils script to update module docs
|
||||
|
||||
* Tue Jul 9 2019 Thomas Woerner <twoerner@redhat.com> - 0.1.5-2
|
||||
- Update README-user.md: Fixed examples, new example
|
||||
- ipauser example playbooks: Fixed actions, new example
|
||||
|
1
sources
1
sources
@ -1,2 +1,3 @@
|
||||
SHA512 (ansible-freeipa-0.1.1.tar.gz) = 8a0e7bfd3f84f80ab2843557ab11cae9d98d3f3e5b705505ff26f784424e9f986f2091058359c1df5dce1441b418ee62f0261ba1d93252eeb288f950946330b0
|
||||
SHA512 (ansible-freeipa-0.1.5.tar.gz) = 0074c01837233060e1c7b5a9850e8a7897350b849d6a2f9cc8b008c2ea3dacdee4fae128edab551c794b63890d8abb430ef3e3759a810cc03aea1b4e1f112593
|
||||
SHA512 (ansible-freeipa-0.1.6.tar.gz) = 07b871f7d579374124e035bd943c990f386fbf3444fe4919ca79e422c3d70f5390da94f554d2725e035c160b9a5ed2c31c1f15bfcaeb2c818e031301c8a72454
|
||||
|
Loading…
Reference in New Issue
Block a user