-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1139 from t-woerner/new_idoverrideuer_module
New idoverrideuser management module.
- Loading branch information
Showing
10 changed files
with
1,736 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
15
playbooks/idoverrideuser/idoverrideuser-certificate-absent.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
14
playbooks/idoverrideuser/idoverrideuser-certificate-present.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.