Skip to content
Snippets Groups Projects
Unverified Commit 630c378a authored by Varun Mylaraiah's avatar Varun Mylaraiah Committed by GitHub
Browse files

Merge pull request #504 from rjeffman/fix_ipapermission_example_playbooks

Fix ipapermission example playbooks
parents e2cb68de 6e45d1ea
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
become: true become: true
tasks: tasks:
- name: Ensure permission TestPerm1 is absent - name: Ensure permission is absent
ipapermission: ipapermission:
ipaadmin_password: SomeADMINpassword
name: TestPerm1 name: TestPerm1
state: absent state: absent
...@@ -4,11 +4,12 @@ ...@@ -4,11 +4,12 @@
become: true become: true
tasks: tasks:
- name: Ensure permission TestPerm2 is present with Read rights to employeenumber - name: Ensure permission is present with set of rights to attribute employeenumber
ipapermission: ipapermission:
name: TestPerm2 ipaadmin_password: SomeADMINpassword
name: TestPerm1
object_type: user object_type: user
perm_rights: right:
- read - read
- search - search
- compare - compare
......
...@@ -4,8 +4,9 @@ ...@@ -4,8 +4,9 @@
become: true become: true
tasks: tasks:
- name: Ensure privilege User Administrators privilege is absent on Permission TestPerm1 - name: Ensure permission privilege, "User Administrators", is absent
ipapermission: ipapermission:
ipaadmin_password: SomeADMINpassword
name: TestPerm1 name: TestPerm1
privilege: "User Administrators" privilege: "User Administrators"
action: member action: member
......
...@@ -4,8 +4,9 @@ ...@@ -4,8 +4,9 @@
become: true become: true
tasks: tasks:
- name: Ensure permission TestPerm1 is present with the User Administrators privilege present - name: Ensure permission is present with "User Administrators" privilege
ipapermission: ipapermission:
ipaadmin_password: SomeADMINpassword
name: TestPerm1 name: TestPerm1
privilege: "User Administrators" privilege: "User Administrators"
action: member action: member
...@@ -4,8 +4,9 @@ ...@@ -4,8 +4,9 @@
become: true become: true
tasks: tasks:
- name: Ensure permission TestPerm1 is present - name: Ensure permission is present
ipapermission: ipapermission:
ipaadmin_password: SomeADMINpassword
name: TestPerm1 name: TestPerm1
object_type: host object_type: host
perm_rights: all right: all
...@@ -4,8 +4,9 @@ ...@@ -4,8 +4,9 @@
become: true become: true
tasks: tasks:
- name: Ensure permission TestPerm1 is present - name: Ensure permission TestPerm1 is renamed to TestPermRenamed
ipapermission: ipapermission:
ipaadmin_password: SomeADMINpassword
name: TestPerm1 name: TestPerm1
rename: TestPermRenamed rename: TestPermRenamed
state: renamed state: renamed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment