-
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 #155 from t-woerner/ipahost-extension
ipahost: Extension to be able handle several hosts and all settings
- Loading branch information
Showing
50 changed files
with
3,437 additions
and
148 deletions.
There are no files selected for viewing
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
host-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,24 @@ | ||
--- | ||
- name: Host member allow_create_keytab absent | ||
hosts: ipaserver | ||
become: true | ||
|
||
tasks: | ||
- name: Host host1.example.com members allow_create_keytab absent for users, groups, hosts and hostgroups | ||
ipahost: | ||
ipaadmin_password: MyPassword123 | ||
name: host01.exmaple.com | ||
allow_create_keytab_user: | ||
- user01 | ||
- user02 | ||
allow_create_keytab_group: | ||
- group01 | ||
- group02 | ||
allow_create_keytab_host: | ||
- host02.exmaple.com | ||
- host03.exmaple.com | ||
allow_create_keytab_hostgroup: | ||
- hostgroup01 | ||
- hostgroup02 | ||
action: member | ||
state: absent |
23 changes: 23 additions & 0 deletions
23
playbooks/host/host-member-allow_create_keytab-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,23 @@ | ||
--- | ||
- name: Host member allow_create_keytab present | ||
hosts: ipaserver | ||
become: true | ||
|
||
tasks: | ||
- name: Host host1.example.com members allow_create_keytab present for users, groups, hosts and hostgroups | ||
ipahost: | ||
ipaadmin_password: MyPassword123 | ||
name: host01.exmaple.com | ||
allow_create_keytab_user: | ||
- user01 | ||
- user02 | ||
allow_create_keytab_group: | ||
- group01 | ||
- group02 | ||
allow_create_keytab_host: | ||
- host02.exmaple.com | ||
- host03.exmaple.com | ||
allow_create_keytab_hostgroup: | ||
- hostgroup01 | ||
- hostgroup02 | ||
action: member |
24 changes: 24 additions & 0 deletions
24
playbooks/host/host-member-allow_retrieve_keytab-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,24 @@ | ||
--- | ||
- name: Host member allow_retrieve_keytab absent | ||
hosts: ipaserver | ||
become: true | ||
|
||
tasks: | ||
- name: Host host1.example.com members allow_retrieve_keytab absent for users, groups, hosts and hostgroups | ||
ipahost: | ||
ipaadmin_password: MyPassword123 | ||
name: host01.exmaple.com | ||
allow_retrieve_keytab_user: | ||
- user01 | ||
- user02 | ||
allow_retrieve_keytab_group: | ||
- group01 | ||
- group02 | ||
allow_retrieve_keytab_host: | ||
- host02.exmaple.com | ||
- host03.exmaple.com | ||
allow_retrieve_keytab_hostgroup: | ||
- hostgroup01 | ||
- hostgroup02 | ||
action: member | ||
state: absent |
23 changes: 23 additions & 0 deletions
23
playbooks/host/host-member-allow_retrieve_keytab-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,23 @@ | ||
--- | ||
- name: Host member allow_retrieve_keytab present | ||
hosts: ipaserver | ||
become: true | ||
|
||
tasks: | ||
- name: Host host1.example.com members allow_retrieve_keytab present for users, groups, hosts and hostgroups | ||
ipahost: | ||
ipaadmin_password: MyPassword123 | ||
name: host01.exmaple.com | ||
allow_retrieve_keytab_user: | ||
- user01 | ||
- user02 | ||
allow_retrieve_keytab_group: | ||
- group01 | ||
- group02 | ||
allow_retrieve_keytab_host: | ||
- host02.exmaple.com | ||
- host03.exmaple.com | ||
allow_retrieve_keytab_hostgroup: | ||
- hostgroup01 | ||
- hostgroup02 | ||
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,13 @@ | ||
- name: Host member certificate absent | ||
hosts: ipaserver | ||
become: true | ||
|
||
tasks: | ||
- name: Host host01.example.com member certificate absent | ||
ipahost: | ||
ipaadmin_password: MyPassword123 | ||
name: host01.example.com | ||
certificate: | ||
- MIIC/zCCAeegAwIBAgIUZGHLaSYg1myp6EI4VGWSC27vOrswDQYJKoZIhvcNAQELBQAwDzENMAsGA1UEAwwEdGVzdDAeFw0xOTEwMTQxNjI4MzVaFw0yMDEwMTMxNjI4MzVaMA8xDTALBgNVBAMMBHRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDER/lB8wUAmPTSwSc/NOXNlzdpPOQDSwrhKH6XsqZF4KpQoSY/nmCjAhJmOVpOUo4K2fGRZ0yAH9fkGv6yJP6c7IAFjLeec7GPHVwN4bZrP1DXfTAmfmXhcRQbCYkV+wmq8Puzw/+xA9EJrrodnJPPsE6E8HnSVLF6Ys9+cJMJ7HuwOI+wYt3gkmspsir1tccmf4x1PP+yHJWdcXyetlFRcmZ8gspjqOR2jb89xSQsh8gcyDW6rPNlSTzYZ2FmNtjES6ZhCsYL31fQbF2QglidlLGpAlvHUUS+xCigW73cvhFPMWXcfO51Mr15RcgYTckY+7QZ2nYqplRBoDlQl6DnAgMBAAGjUzBRMB0GA1UdDgQWBBTPG99XVRdxpOXMZo3Nhy+ldnf13TAfBgNVHSMEGDAWgBTPG99XVRdxpOXMZo3Nhy+ldnf13TAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAjWTcnIl2mpNbfHAN8DB4Kk+RNRmhsH0y+r/47MXVTMMMToCfofeNY3Jeohu+2lIXMPQfTvXUbDTkNAGsGLv6LtQEUfSREqgk1eY7bT9BFfpH1uV2ZFhCO9jBA+E4bf55Kx7bgUNG31ykBshOsOblOJM1lS/0q4TWHAxrsU2PNwPi8X0ten+eGeB8aRshxS17Ij2cH0fdAMmSA+jMAvTIZl853Bxe0HuozauKwOFWL4qHm61c4O/j1mQCLqJKYfJ9mBDWFQLszd/tF+ePKiNhZCQly60F8Lumn2CDZj5UIkl8wk9Wls5n1BIQs+M8AN65NAdv7+js8jKUKCuyji8r3 | ||
action: member | ||
state: absent |
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,12 @@ | ||
- name: Host member certificate present | ||
hosts: ipaserver | ||
become: true | ||
|
||
tasks: | ||
- name: Host host01.example.com member certificate present | ||
ipahost: | ||
ipaadmin_password: MyPassword123 | ||
name: host01.example.com | ||
certificate: | ||
- MIIC/zCCAeegAwIBAgIUZGHLaSYg1myp6EI4VGWSC27vOrswDQYJKoZIhvcNAQELBQAwDzENMAsGA1UEAwwEdGVzdDAeFw0xOTEwMTQxNjI4MzVaFw0yMDEwMTMxNjI4MzVaMA8xDTALBgNVBAMMBHRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDER/lB8wUAmPTSwSc/NOXNlzdpPOQDSwrhKH6XsqZF4KpQoSY/nmCjAhJmOVpOUo4K2fGRZ0yAH9fkGv6yJP6c7IAFjLeec7GPHVwN4bZrP1DXfTAmfmXhcRQbCYkV+wmq8Puzw/+xA9EJrrodnJPPsE6E8HnSVLF6Ys9+cJMJ7HuwOI+wYt3gkmspsir1tccmf4x1PP+yHJWdcXyetlFRcmZ8gspjqOR2jb89xSQsh8gcyDW6rPNlSTzYZ2FmNtjES6ZhCsYL31fQbF2QglidlLGpAlvHUUS+xCigW73cvhFPMWXcfO51Mr15RcgYTckY+7QZ2nYqplRBoDlQl6DnAgMBAAGjUzBRMB0GA1UdDgQWBBTPG99XVRdxpOXMZo3Nhy+ldnf13TAfBgNVHSMEGDAWgBTPG99XVRdxpOXMZo3Nhy+ldnf13TAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAjWTcnIl2mpNbfHAN8DB4Kk+RNRmhsH0y+r/47MXVTMMMToCfofeNY3Jeohu+2lIXMPQfTvXUbDTkNAGsGLv6LtQEUfSREqgk1eY7bT9BFfpH1uV2ZFhCO9jBA+E4bf55Kx7bgUNG31ykBshOsOblOJM1lS/0q4TWHAxrsU2PNwPi8X0ten+eGeB8aRshxS17Ij2cH0fdAMmSA+jMAvTIZl853Bxe0HuozauKwOFWL4qHm61c4O/j1mQCLqJKYfJ9mBDWFQLszd/tF+ePKiNhZCQly60F8Lumn2CDZj5UIkl8wk9Wls5n1BIQs+M8AN65NAdv7+js8jKUKCuyji8r3 | ||
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,12 @@ | ||
--- | ||
- name: Host member managedby_host absent | ||
hosts: ipaserver | ||
become: true | ||
|
||
tasks: | ||
ipahost: | ||
ipaadmin_password: MyPassword123 | ||
name: host01.exmaple.com | ||
managedby_host: server.exmaple.com | ||
action: member | ||
state: absent |
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: Host member managedby_host present | ||
hosts: ipaserver | ||
become: true | ||
|
||
tasks: | ||
ipahost: | ||
ipaadmin_password: MyPassword123 | ||
name: host01.exmaple.com | ||
managedby_host: server.exmaple.com | ||
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,15 @@ | ||
--- | ||
- name: Host member principal absent | ||
hosts: ipaserver | ||
become: true | ||
|
||
tasks: | ||
- name: Host host01.example.com principals host/testhost01.example.com and host/myhost01.example.com absent | ||
ipahost: | ||
ipaadmin_password: MyPassword123 | ||
name: host01.example.com | ||
principal: | ||
- host/testhost01.example.com | ||
- host/myhost01.example.com | ||
action: member | ||
state: absent |
Oops, something went wrong.