Skip to content

Commit

Permalink
Merge pull request #1139 from t-woerner/new_idoverrideuer_module
Browse files Browse the repository at this point in the history
New idoverrideuser management module.
  • Loading branch information
rjeffman authored Sep 16, 2023
2 parents 2d079c8 + c0692e1 commit e5b2c12
Show file tree
Hide file tree
Showing 10 changed files with 1,736 additions and 0 deletions.
503 changes: 503 additions & 0 deletions README-idoverrideuser.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Features
* Modules for hbacsvcgroup management
* Modules for host management
* Modules for hostgroup management
* Modules for idoverrideuser management
* Modules for idrange management
* Modules for idview management
* Modules for location management
Expand Down Expand Up @@ -441,6 +442,7 @@ Modules in plugin/modules
* [ipahbacsvcgroup](README-hbacsvcgroup.md)
* [ipahost](README-host.md)
* [ipahostgroup](README-hostgroup.md)
* [idoverrideuser](README-idoverrideuser.md)
* [idrange](README-idrange.md)
* [idview](README-idview.md)
* [ipalocation](README-location.md)
Expand Down
13 changes: 13 additions & 0 deletions playbooks/idoverrideuser/idoverrideuser-absent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
- name: Playbook to manage idoverrideuser
hosts: ipaserver
become: false

tasks:
- name: Ensure test user test_user is absent in idview test_idview
ipaidoverrideuser:
ipaadmin_password: SomeADMINpassword
idview: test_idview
anchor: test_user
continue: true
state: absent
15 changes: 15 additions & 0 deletions playbooks/idoverrideuser/idoverrideuser-certificate-absent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
- name: Playbook to manage idoverrideuser
hosts: ipaserver
become: false

tasks:
- name: Ensure test user test_user certificate member is absent in idview test_idview
ipaidoverrideuser:
ipaadmin_password: SomeADMINpassword
idview: test_idview
anchor: test_user
certificate:
- "{{ lookup('file', 'cert1.b64', rstrip=False) }}"
action: member
state: absent
14 changes: 14 additions & 0 deletions playbooks/idoverrideuser/idoverrideuser-certificate-present.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
- name: Playbook to manage idoverrideuser
hosts: ipaserver
become: false

tasks:
- name: Ensure test user test_user certificate member is present in idview test_idview
ipaidoverrideuser:
ipaadmin_password: SomeADMINpassword
idview: test_idview
anchor: test_user
certificate:
- "{{ lookup('file', 'cert1.b64', rstrip=False) }}"
action: member
11 changes: 11 additions & 0 deletions playbooks/idoverrideuser/idoverrideuser-present.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
- name: Playbook to manage idoverrideuser
hosts: ipaserver
become: false

tasks:
- name: Ensure test user test_user is present in idview test_idview.
ipaidoverrideuser:
ipaadmin_password: SomeADMINpassword
idview: test_idview
anchor: test_user
Loading

0 comments on commit e5b2c12

Please sign in to comment.