mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
Merge pull request #649 from t-woerner/playbooks_fix_exmaple
playbooks, README-host: Change exmaple to example
This commit is contained in:
@@ -266,10 +266,10 @@ Example playbook to ensure presence of member managedby_host for serveral hosts:
|
|||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
- name: host01.exmaple.com
|
- name: host01.example.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.example.com
|
||||||
- name: host02.exmaple.com
|
- name: host02.example.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.example.com
|
||||||
action: member
|
action: member
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
- name: Host host1.example.com members allow_create_keytab absent for users, groups, hosts and hostgroups
|
- name: Host host1.example.com members allow_create_keytab absent for users, groups, hosts and hostgroups
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.example.com
|
||||||
allow_create_keytab_user:
|
allow_create_keytab_user:
|
||||||
- user01
|
- user01
|
||||||
- user02
|
- user02
|
||||||
@@ -15,8 +15,8 @@
|
|||||||
- group01
|
- group01
|
||||||
- group02
|
- group02
|
||||||
allow_create_keytab_host:
|
allow_create_keytab_host:
|
||||||
- host02.exmaple.com
|
- host02.example.com
|
||||||
- host03.exmaple.com
|
- host03.example.com
|
||||||
allow_create_keytab_hostgroup:
|
allow_create_keytab_hostgroup:
|
||||||
- hostgroup01
|
- hostgroup01
|
||||||
- hostgroup02
|
- hostgroup02
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
- name: Host host1.example.com members allow_create_keytab present for users, groups, hosts and hostgroups
|
- name: Host host1.example.com members allow_create_keytab present for users, groups, hosts and hostgroups
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.example.com
|
||||||
allow_create_keytab_user:
|
allow_create_keytab_user:
|
||||||
- user01
|
- user01
|
||||||
- user02
|
- user02
|
||||||
@@ -15,8 +15,8 @@
|
|||||||
- group01
|
- group01
|
||||||
- group02
|
- group02
|
||||||
allow_create_keytab_host:
|
allow_create_keytab_host:
|
||||||
- host02.exmaple.com
|
- host02.example.com
|
||||||
- host03.exmaple.com
|
- host03.example.com
|
||||||
allow_create_keytab_hostgroup:
|
allow_create_keytab_hostgroup:
|
||||||
- hostgroup01
|
- hostgroup01
|
||||||
- hostgroup02
|
- hostgroup02
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
- name: Host host1.example.com members allow_retrieve_keytab absent for users, groups, hosts and hostgroups
|
- name: Host host1.example.com members allow_retrieve_keytab absent for users, groups, hosts and hostgroups
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.example.com
|
||||||
allow_retrieve_keytab_user:
|
allow_retrieve_keytab_user:
|
||||||
- user01
|
- user01
|
||||||
- user02
|
- user02
|
||||||
@@ -15,8 +15,8 @@
|
|||||||
- group01
|
- group01
|
||||||
- group02
|
- group02
|
||||||
allow_retrieve_keytab_host:
|
allow_retrieve_keytab_host:
|
||||||
- host02.exmaple.com
|
- host02.example.com
|
||||||
- host03.exmaple.com
|
- host03.example.com
|
||||||
allow_retrieve_keytab_hostgroup:
|
allow_retrieve_keytab_hostgroup:
|
||||||
- hostgroup01
|
- hostgroup01
|
||||||
- hostgroup02
|
- hostgroup02
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
- name: Host host1.example.com members allow_retrieve_keytab present for users, groups, hosts and hostgroups
|
- name: Host host1.example.com members allow_retrieve_keytab present for users, groups, hosts and hostgroups
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.example.com
|
||||||
allow_retrieve_keytab_user:
|
allow_retrieve_keytab_user:
|
||||||
- user01
|
- user01
|
||||||
- user02
|
- user02
|
||||||
@@ -15,8 +15,8 @@
|
|||||||
- group01
|
- group01
|
||||||
- group02
|
- group02
|
||||||
allow_retrieve_keytab_host:
|
allow_retrieve_keytab_host:
|
||||||
- host02.exmaple.com
|
- host02.example.com
|
||||||
- host03.exmaple.com
|
- host03.example.com
|
||||||
allow_retrieve_keytab_hostgroup:
|
allow_retrieve_keytab_hostgroup:
|
||||||
- hostgroup01
|
- hostgroup01
|
||||||
- hostgroup02
|
- hostgroup02
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- ipahost:
|
- ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.example.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.example.com
|
||||||
action: member
|
action: member
|
||||||
state: absent
|
state: absent
|
||||||
|
|||||||
@@ -6,6 +6,6 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- ipahost:
|
- ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.example.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.example.com
|
||||||
action: member
|
action: member
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
- name: Host host1.example.com present with allow_create_keytab for users, groups, hosts and hostgroups
|
- name: Host host1.example.com present with allow_create_keytab for users, groups, hosts and hostgroups
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.example.com
|
||||||
allow_create_keytab_user:
|
allow_create_keytab_user:
|
||||||
- user01
|
- user01
|
||||||
- user02
|
- user02
|
||||||
@@ -15,8 +15,8 @@
|
|||||||
- group01
|
- group01
|
||||||
- group02
|
- group02
|
||||||
allow_create_keytab_host:
|
allow_create_keytab_host:
|
||||||
- host02.exmaple.com
|
- host02.example.com
|
||||||
- host03.exmaple.com
|
- host03.example.com
|
||||||
allow_create_keytab_hostgroup:
|
allow_create_keytab_hostgroup:
|
||||||
- hostgroup01
|
- hostgroup01
|
||||||
- hostgroup02
|
- hostgroup02
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
- name: Host host1.example.com present with allow_retrieve_keytab for users, groups, hosts and hostgroups
|
- name: Host host1.example.com present with allow_retrieve_keytab for users, groups, hosts and hostgroups
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.example.com
|
||||||
allow_retrieve_keytab_user:
|
allow_retrieve_keytab_user:
|
||||||
- user01
|
- user01
|
||||||
- user02
|
- user02
|
||||||
@@ -15,8 +15,8 @@
|
|||||||
- group01
|
- group01
|
||||||
- group02
|
- group02
|
||||||
allow_retrieve_keytab_host:
|
allow_retrieve_keytab_host:
|
||||||
- host02.exmaple.com
|
- host02.example.com
|
||||||
- host03.exmaple.com
|
- host03.example.com
|
||||||
allow_retrieve_keytab_hostgroup:
|
allow_retrieve_keytab_hostgroup:
|
||||||
- hostgroup01
|
- hostgroup01
|
||||||
- hostgroup02
|
- hostgroup02
|
||||||
|
|||||||
@@ -6,6 +6,6 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- ipahost:
|
- ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.example.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.example.com
|
||||||
force: yes
|
force: yes
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Hosts host01.example.com and host01.exmaple.com member certificate absent
|
- name: Hosts host01.example.com and host01.example.com member certificate absent
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Hosts host01.example.com and host01.exmaple.com member certificate present
|
- name: Hosts host01.example.com and host01.example.com member certificate present
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
- name: host01.exmaple.com
|
- name: host01.example.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.example.com
|
||||||
- name: host02.exmaple.com
|
- name: host02.example.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.example.com
|
||||||
action: member
|
action: member
|
||||||
state: absent
|
state: absent
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
- name: host01.exmaple.com
|
- name: host01.example.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.example.com
|
||||||
- name: host02.exmaple.com
|
- name: host02.example.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.example.com
|
||||||
action: member
|
action: member
|
||||||
|
|||||||
@@ -4,15 +4,15 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Hosts host01.exmaple.com and host02.exmaple.com member principals host/testhost0X.exmaple.com absent
|
- name: Hosts host01.example.com and host02.example.com member principals host/testhost0X.example.com absent
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
- name: host01.exmaple.com
|
- name: host01.example.com
|
||||||
principal:
|
principal:
|
||||||
- host/testhost01.exmaple.com
|
- host/testhost01.example.com
|
||||||
- name: host02.exmaple.com
|
- name: host02.example.com
|
||||||
principal:
|
principal:
|
||||||
- host/testhost02.exmaple.com
|
- host/testhost02.example.com
|
||||||
action: member
|
action: member
|
||||||
state: absent
|
state: absent
|
||||||
|
|||||||
@@ -4,14 +4,14 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Hosts host01.exmaple.com and host02.exmaple.com member principals host/testhost0X.exmaple.com present
|
- name: Hosts host01.example.com and host02.example.com member principals host/testhost0X.example.com present
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
- name: host01.exmaple.com
|
- name: host01.example.com
|
||||||
principal:
|
principal:
|
||||||
- host/testhost01.exmaple.com
|
- host/testhost01.example.com
|
||||||
- name: host02.exmaple.com
|
- name: host02.example.com
|
||||||
principal:
|
principal:
|
||||||
- host/testhost02.exmaple.com
|
- host/testhost02.example.com
|
||||||
action: member
|
action: member
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Hosts host01.example.com and host01.exmaple.com present with certificate
|
- name: Hosts host01.example.com and host01.example.com present with certificate
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
- ipahost:
|
- ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
- name: host01.exmaple.com
|
- name: host01.example.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.example.com
|
||||||
force: yes
|
force: yes
|
||||||
- name: host02.exmaple.com
|
- name: host02.example.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.example.com
|
||||||
force: yes
|
force: yes
|
||||||
|
|||||||
@@ -4,11 +4,11 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Service HTTP/www.exmaple.com member principals host/test.exmaple.com absent
|
- name: Service HTTP/www.example.com member principals host/test.example.com absent
|
||||||
ipaservice:
|
ipaservice:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: HTTP/www.example.com
|
name: HTTP/www.example.com
|
||||||
principal:
|
principal:
|
||||||
- host/test.exmaple.com
|
- host/test.example.com
|
||||||
action: member
|
action: member
|
||||||
state: absent
|
state: absent
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Service HTTP/www.exmaple.com member principals host/test.exmaple.com present
|
- name: Service HTTP/www.example.com member principals host/test.example.com present
|
||||||
ipaservice:
|
ipaservice:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: HTTP/www.example.com
|
name: HTTP/www.example.com
|
||||||
principal:
|
principal:
|
||||||
- host/test.exmaple.com
|
- host/test.example.com
|
||||||
action: member
|
action: member
|
||||||
|
|||||||
Reference in New Issue
Block a user