mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 03:44:41 +00:00
ipauser exmaple playbooks: More updates
This commit is contained in:
@@ -9,4 +9,4 @@
|
|||||||
ipaadmin_password: MyPassword123
|
ipaadmin_password: MyPassword123
|
||||||
name: pinky
|
name: pinky
|
||||||
preserve: yes
|
preserve: yes
|
||||||
state: disabled
|
state: absent
|
||||||
|
|||||||
@@ -8,4 +8,4 @@
|
|||||||
ipauser:
|
ipauser:
|
||||||
ipaadmin_password: MyPassword123
|
ipaadmin_password: MyPassword123
|
||||||
name: pinky
|
name: pinky
|
||||||
state: disabled
|
state: absent
|
||||||
|
|||||||
@@ -8,4 +8,4 @@
|
|||||||
ipauser:
|
ipauser:
|
||||||
ipaadmin_password: MyPassword123
|
ipaadmin_password: MyPassword123
|
||||||
name: pinky
|
name: pinky
|
||||||
state: disabled
|
state: enabled
|
||||||
|
|||||||
11
playbooks/user/unlock-users.yml
Normal file
11
playbooks/user/unlock-users.yml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user