mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-29 02:44:43 +00:00
tests: Unite admin passwords
The tests have been using MyPassword123 and also SomeADMINpassword within the tasks of the tests. SomeADMINpassword should be used everywhere.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
- name: Host absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.201' }}"
|
||||
update_dns: yes
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.201' }}"
|
||||
update_dns: yes
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
- name: Host "{{ host2_fqdn }}" present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host2_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.202' }}"
|
||||
update_dns: yes
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
- name: Host "{{ host2_fqdn }}" present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host2_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.202' }}"
|
||||
update_dns: yes
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
- name: Host "{{ host3_fqdn }}" present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host3_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.203' }}"
|
||||
update_dns: yes
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
- name: Host "{{ host3_fqdn }}" present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host3_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.203' }}"
|
||||
update_dns: yes
|
||||
@@ -98,7 +98,7 @@
|
||||
|
||||
- name: Host "{{ host4_fqdn }}" present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host4_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.204' }}"
|
||||
update_dns: yes
|
||||
@@ -108,7 +108,7 @@
|
||||
|
||||
- name: Host "{{ host4_fqdn }}" present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host4_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.204' }}"
|
||||
update_dns: yes
|
||||
@@ -118,7 +118,7 @@
|
||||
|
||||
- name: Host "{{ host5_fqdn }}" present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host5_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.205' }}"
|
||||
update_dns: yes
|
||||
@@ -128,7 +128,7 @@
|
||||
|
||||
- name: Host "{{ host5_fqdn }}" present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host5_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.205' }}"
|
||||
update_dns: yes
|
||||
@@ -138,7 +138,7 @@
|
||||
|
||||
- name: Host "{{ host6_fqdn }}" present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host6_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.206' }}"
|
||||
update_dns: yes
|
||||
@@ -148,7 +148,7 @@
|
||||
|
||||
- name: Host "{{ host6_fqdn }}" present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host6_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.206' }}"
|
||||
update_dns: yes
|
||||
@@ -160,7 +160,7 @@
|
||||
# not enabled.
|
||||
#- name: Hosts host1..host6 disabled
|
||||
# ipahost:
|
||||
# ipaadmin_password: MyPassword123
|
||||
# ipaadmin_password: SomeADMINpassword
|
||||
# name:
|
||||
# - "{{ host1_fqdn }}"
|
||||
# - "{{ host2_fqdn }}"
|
||||
@@ -174,7 +174,7 @@
|
||||
#
|
||||
#- name: Hosts host1..host6 disabled again
|
||||
# ipahost:
|
||||
# ipaadmin_password: MyPassword123
|
||||
# ipaadmin_password: SomeADMINpassword
|
||||
# name:
|
||||
# - "{{ host1_fqdn }}"
|
||||
# - "{{ host2_fqdn }}"
|
||||
@@ -188,7 +188,7 @@
|
||||
|
||||
- name: Hosts host1..host6 absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
@@ -203,7 +203,7 @@
|
||||
|
||||
- name: Hosts host1..host6 absent again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
- name: Host host1..., host2... and host3... absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
@@ -31,13 +31,13 @@
|
||||
|
||||
- name: Ensure host-groups hostgroup1 and hostgroup2 absent
|
||||
ipahostgroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: hostgroup1,hostgroup2
|
||||
state: absent
|
||||
|
||||
- name: Ensure users user1 and user2 absent
|
||||
ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
users:
|
||||
- name: user1
|
||||
- name: user2
|
||||
@@ -45,13 +45,13 @@
|
||||
|
||||
- name: Ensure group1 and group2 absent
|
||||
ipagroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: group1,group2
|
||||
state: absent
|
||||
|
||||
- name: Host host2... and host3... present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host2_fqdn }}"
|
||||
force: yes
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
- name: Ensure host-group hostgroup1 present
|
||||
ipahostgroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: hostgroup1
|
||||
state: present
|
||||
register: result
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
- name: Ensure host-group hostgroup2 present
|
||||
ipahostgroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: hostgroup2
|
||||
state: present
|
||||
register: result
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
- name: Ensure users user1 and user2 present
|
||||
ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
users:
|
||||
- name: user1
|
||||
first: First1
|
||||
@@ -91,21 +91,21 @@
|
||||
|
||||
- name: Ensure group1 present
|
||||
ipagroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: group1
|
||||
register: result
|
||||
failed_when: not result.changed
|
||||
|
||||
- name: Ensure group2 present
|
||||
ipagroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: group2
|
||||
register: result
|
||||
failed_when: not result.changed
|
||||
|
||||
- name: Host host1... present with allow_create_keytab users,groups,hosts and hostgroups
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_create_keytab_user:
|
||||
- user1
|
||||
@@ -125,7 +125,7 @@
|
||||
|
||||
- name: Host host1... present with allow_create_keytab users,groups,hosts and hostgroups again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_create_keytab_user:
|
||||
- user1
|
||||
@@ -145,14 +145,14 @@
|
||||
|
||||
- name: Host host1... absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
state: absent
|
||||
|
||||
- name: Host host1... present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
force: yes
|
||||
register: result
|
||||
@@ -160,7 +160,7 @@
|
||||
|
||||
- name: Host host1... ensure allow_create_keytab users,groups,hosts and hostgroups present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_create_keytab_user:
|
||||
- user1
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
- name: Host host1... ensure allow_create_keytab users,groups,hosts and hostgroups present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_create_keytab_user:
|
||||
- user1
|
||||
@@ -200,7 +200,7 @@
|
||||
|
||||
- name: Host host1... ensure allow_create_keytab users,groups,hosts and hostgroups absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_create_keytab_user:
|
||||
- user1
|
||||
@@ -221,7 +221,7 @@
|
||||
|
||||
- name: Host host1... ensure allow_create_keytab users,groups,hosts and hostgroups absent again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_create_keytab_user:
|
||||
- user1
|
||||
@@ -242,7 +242,7 @@
|
||||
|
||||
- name: Host host1..., host2... and host3... absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
@@ -253,7 +253,7 @@
|
||||
|
||||
- name: Ensure host-groups hostgroup1 and hostgroup2 absent
|
||||
ipahostgroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: hostgroup1,hostgroup2
|
||||
state: absent
|
||||
register: result
|
||||
@@ -261,7 +261,7 @@
|
||||
|
||||
- name: Ensure users user1 and user2 absent
|
||||
ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
users:
|
||||
- name: user1
|
||||
- name: user2
|
||||
@@ -271,7 +271,7 @@
|
||||
|
||||
- name: Ensure group1 and group2 absent
|
||||
ipagroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: group1,group2
|
||||
state: absent
|
||||
register: result
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
- name: Host host1..., host2... and host3... absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
@@ -31,13 +31,13 @@
|
||||
|
||||
- name: Ensure host-groups hostgroup1 and hostgroup2 absent
|
||||
ipahostgroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: hostgroup1,hostgroup2
|
||||
state: absent
|
||||
|
||||
- name: Ensure users user1 and user2 absent
|
||||
ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
users:
|
||||
- name: user1
|
||||
- name: user2
|
||||
@@ -45,13 +45,13 @@
|
||||
|
||||
- name: Ensure group1 and group2 absent
|
||||
ipagroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: group1,group2
|
||||
state: absent
|
||||
|
||||
- name: Host host2... and host3... present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host2_fqdn }}"
|
||||
force: yes
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
- name: Ensure host-group hostgroup1 present
|
||||
ipahostgroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: hostgroup1
|
||||
state: present
|
||||
register: result
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
- name: Ensure host-group hostgroup2 present
|
||||
ipahostgroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: hostgroup2
|
||||
state: present
|
||||
register: result
|
||||
@@ -78,7 +78,7 @@
|
||||
|
||||
- name: Ensure users user1 and user2 present
|
||||
ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
users:
|
||||
- name: user1
|
||||
first: First1
|
||||
@@ -91,21 +91,21 @@
|
||||
|
||||
- name: Ensure group1 present
|
||||
ipagroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: group1
|
||||
register: result
|
||||
failed_when: not result.changed
|
||||
|
||||
- name: Ensure group2 present
|
||||
ipagroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: group2
|
||||
register: result
|
||||
failed_when: not result.changed
|
||||
|
||||
- name: Host host1... present with allow_retrieve_keytab users,groups,hosts and hostgroups
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_retrieve_keytab_user:
|
||||
- user1
|
||||
@@ -125,7 +125,7 @@
|
||||
|
||||
- name: Host host1... present with allow_retrieve_keytab users,groups,hosts and hostgroups again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_retrieve_keytab_user:
|
||||
- user1
|
||||
@@ -145,14 +145,14 @@
|
||||
|
||||
- name: Host host1... absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
state: absent
|
||||
|
||||
- name: Host host1... present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
force: yes
|
||||
register: result
|
||||
@@ -160,7 +160,7 @@
|
||||
|
||||
- name: Host host1... ensure allow_retrieve_keytab users,groups,hosts and hostgroups present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_retrieve_keytab_user:
|
||||
- user1
|
||||
@@ -180,7 +180,7 @@
|
||||
|
||||
- name: Host host1... ensure allow_retrieve_keytab users,groups,hosts and hostgroups present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_retrieve_keytab_user:
|
||||
- user1
|
||||
@@ -200,7 +200,7 @@
|
||||
|
||||
- name: Host host1... ensure allow_retrieve_keytab users,groups,hosts and hostgroups absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_retrieve_keytab_user:
|
||||
- user1
|
||||
@@ -221,7 +221,7 @@
|
||||
|
||||
- name: Host host1... ensure allow_retrieve_keytab users,groups,hosts and hostgroups absent again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
allow_retrieve_keytab_user:
|
||||
- user1
|
||||
@@ -242,7 +242,7 @@
|
||||
|
||||
- name: Host host1..., host2... and host3... absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
@@ -253,7 +253,7 @@
|
||||
|
||||
- name: Ensure host-groups hostgroup1 and hostgroup2 absent
|
||||
ipahostgroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: hostgroup1,hostgroup2
|
||||
state: absent
|
||||
register: result
|
||||
@@ -261,7 +261,7 @@
|
||||
|
||||
- name: Ensure users user1 and user2 absent
|
||||
ipauser:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
users:
|
||||
- name: user1
|
||||
- name: user2
|
||||
@@ -271,7 +271,7 @@
|
||||
|
||||
- name: Ensure group1 and group2 absent
|
||||
ipagroup:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: group1,group2
|
||||
state: absent
|
||||
register: result
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
- name: Host absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
update_dns: yes
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present with requires_pre_auth, ok_as_delegate and ok_to_auth_as_delegate
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
force: yes
|
||||
requires_pre_auth: yes
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present with requires_pre_auth, ok_as_delegate and ok_to_auth_as_delegate again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
requires_pre_auth: yes
|
||||
ok_as_delegate: yes
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present with requires_pre_auth, ok_as_delegate and ok_to_auth_as_delegate set to no
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
requires_pre_auth: no
|
||||
ok_as_delegate: no
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present with requires_pre_auth, ok_as_delegate and ok_to_auth_as_delegate set to no again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
requires_pre_auth: no
|
||||
ok_as_delegate: no
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present with requires_pre_auth
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
requires_pre_auth: yes
|
||||
register: result
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present with requires_pre_auth again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
requires_pre_auth: yes
|
||||
register: result
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present with ok_as_delegate
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ok_as_delegate: yes
|
||||
register: result
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present with ok_as_delegate again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ok_as_delegate: yes
|
||||
register: result
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present with ok_to_auth_as_delegate
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ok_to_auth_as_delegate: yes
|
||||
register: result
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present with ok_to_auth_as_delegate again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ok_to_auth_as_delegate: yes
|
||||
register: result
|
||||
@@ -112,7 +112,7 @@
|
||||
|
||||
- name: Host absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
update_dns: yes
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
- name: Host absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address:
|
||||
- "{{ ipv4_prefix + '.201' }}"
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address:
|
||||
- "{{ ipv4_prefix + '.201' }}"
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present again with new IP address
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address:
|
||||
- "{{ ipv4_prefix + '.211' }}"
|
||||
@@ -70,7 +70,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present again with new IP address again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address:
|
||||
- "{{ ipv4_prefix + '.211' }}"
|
||||
@@ -84,7 +84,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" member IPv4 address present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.201' }}"
|
||||
action: member
|
||||
@@ -93,7 +93,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" member IPv4 address present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.201' }}"
|
||||
action: member
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" member IPv4 address absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.201' }}"
|
||||
action: member
|
||||
@@ -112,7 +112,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" member IPv4 address absent again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address: "{{ ipv4_prefix + '.201' }}"
|
||||
action: member
|
||||
@@ -122,7 +122,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" member IPv6 address present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address: fe80::20c:29ff:fe02:a1b2
|
||||
action: member
|
||||
@@ -131,7 +131,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" member IPv6 address present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address: fe80::20c:29ff:fe02:a1b2
|
||||
action: member
|
||||
@@ -140,7 +140,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" member IPv6 address absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address: fe80::20c:29ff:fe02:a1b2
|
||||
action: member
|
||||
@@ -150,7 +150,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" member IPv6 address absent again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address: fe80::20c:29ff:fe02:a1b2
|
||||
action: member
|
||||
@@ -159,7 +159,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" member all ip-addresses absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address:
|
||||
- "{{ ipv4_prefix + '.211' }}"
|
||||
@@ -173,7 +173,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" all member ip-addresses absent again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
ip_address:
|
||||
- "{{ ipv4_prefix + '.211' }}"
|
||||
@@ -187,7 +187,7 @@
|
||||
|
||||
- name: Hosts "{{ host1_fqdn }}" and "{{ host2_fqdn }}" present with same IP addresses
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
ip_address:
|
||||
@@ -206,7 +206,7 @@
|
||||
|
||||
- name: Hosts "{{ host1_fqdn }}" and "{{ host2_fqdn }}" present with same IP addresses again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
ip_address:
|
||||
@@ -225,7 +225,7 @@
|
||||
|
||||
- name: Hosts "{{ host3_fqdn }}" present with same IP addresses
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host3_fqdn }}"
|
||||
ip_address:
|
||||
@@ -238,7 +238,7 @@
|
||||
|
||||
- name: Hosts "{{ host3_fqdn }}" present with same IP addresses again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host3_fqdn }}"
|
||||
ip_address:
|
||||
@@ -251,7 +251,7 @@
|
||||
|
||||
- name: Host "{{ host3_fqdn }}" present with differnt IP addresses
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host3_fqdn }}"
|
||||
ip_address:
|
||||
@@ -264,7 +264,7 @@
|
||||
|
||||
- name: Host "{{ host3_fqdn }}" present with different IP addresses again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host3_fqdn }}"
|
||||
ip_address:
|
||||
@@ -277,7 +277,7 @@
|
||||
|
||||
- name: Host "{{ host3_fqdn }}" present with old IP addresses
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host3_fqdn }}"
|
||||
ip_address:
|
||||
@@ -290,7 +290,7 @@
|
||||
|
||||
- name: Host "{{ host3_fqdn }}" present with old IP addresses again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host3_fqdn }}"
|
||||
ip_address:
|
||||
@@ -303,7 +303,7 @@
|
||||
|
||||
- name: Absent host01.ihavenodns.info test
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: host01.ihavenodns.info
|
||||
state: absent
|
||||
@@ -312,7 +312,7 @@
|
||||
|
||||
- name: Host absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
- name: Host absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
force: yes
|
||||
register: result
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
- name: Host "{{ host2_fqdn }}" present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host2_fqdn }}"
|
||||
force: yes
|
||||
register: result
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" managed by "{{ 'host2.' + ipaserver_domain }}"
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ host2_fqdn }}"
|
||||
register: result
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" managed by "{{ 'host2.' + ipaserver_domain }}" again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ host2_fqdn }}"
|
||||
register: result
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" managed by "{{ groups.ipaserver[0] }}"
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ groups.ipaserver[0] }}"
|
||||
action: member
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" managed by "{{ groups.ipaserver[0] }}" again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ groups.ipaserver[0] }}"
|
||||
action: member
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" not managed by "{{ groups.ipaserver[0] }}"
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ groups.ipaserver[0] }}"
|
||||
action: member
|
||||
@@ -85,7 +85,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" not managed by "{{ groups.ipaserver[0] }}" again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ groups.ipaserver[0] }}"
|
||||
action: member
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" not managed by "{{ 'host2.' + ipaserver_domain }}"
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ host2_fqdn }}"
|
||||
state: absent
|
||||
@@ -105,7 +105,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" not managed by "{{ 'host2.' + ipaserver_domain }}" again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ host2_fqdn }}"
|
||||
action: member
|
||||
@@ -115,7 +115,7 @@
|
||||
|
||||
- name: Host absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
- name: Host host1 absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
update_dns: yes
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
- name: Host host1... present with principal host/testhost1...
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
- "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
- name: Host host1... principal host/host1... present (existing already)
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
- "{{ 'host/host1.' + ipaserver_domain + '@' + ipaserver_realm }}"
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
- name: Host host1... principal host/testhost1... present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
principal: "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
|
||||
action: member
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
- name: Host host1... principal host/testhost1... absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
principal: "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
|
||||
action: member
|
||||
@@ -67,7 +67,7 @@
|
||||
|
||||
- name: Host host1... principal host/testhost1... absent again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
principal: "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
|
||||
action: member
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
- name: Host host1... principal host/testhost1... and host/myhost1... present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
- "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
- name: Host host1... principal host/testhost1... and host/myhost1... present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
- "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
|
||||
@@ -99,7 +99,7 @@
|
||||
|
||||
- name: Host host1... principal host/testhost1... and host/myhost1... absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
- "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
|
||||
@@ -111,7 +111,7 @@
|
||||
|
||||
- name: Host host1... principal host/testhost1... and host/myhost1... absent again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
- "{{ 'host/testhost1.' + ipaserver_domain + '@' + ipaserver_realm }}"
|
||||
@@ -123,7 +123,7 @@
|
||||
|
||||
- name: Host host1... absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
update_dns: yes
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
- name: Test hosts absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" present with random password
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host1_fqdn }}"
|
||||
random: yes
|
||||
force: yes
|
||||
@@ -43,14 +43,14 @@
|
||||
|
||||
- name: Host "{{ host1_fqdn }}" absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
state: absent
|
||||
|
||||
- name: Hosts "{{ host1_fqdn }}" and "{{ host2_fqdn }}" present with random password
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
random: yes
|
||||
@@ -79,7 +79,7 @@
|
||||
|
||||
- name: Hosts "{{ host1_fqdn }}" and "{{ host2_fqdn }}" absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
- name: Host host1..host6 absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
- name: "{{ host2_fqdn }}"
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
- name: Hosts host1..host6 present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
force: yes
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
- name: Hosts host1..host6 present again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
force: yes
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
- name: Hosts host1..host6 absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
- name: "{{ host2_fqdn }}"
|
||||
@@ -85,7 +85,7 @@
|
||||
|
||||
- name: Hosts host1..host6 absent again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
- name: "{{ host2_fqdn }}"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
- name: Host absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
- name: Host "{{ host5_fqdn }}" present
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name: "{{ host5_fqdn }}"
|
||||
force: yes
|
||||
register: result
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
- name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" present and managed by "{{ 'host5.' + ipaserver_domain }}"
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ host5_fqdn }}"
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
- name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" present and managed by "{{ 'host5.' + ipaserver_domain }}" again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ host5_fqdn }}"
|
||||
@@ -83,7 +83,7 @@
|
||||
|
||||
- name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" managed by "{{ 'host5.' + ipaserver_domain }}"
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ host5_fqdn }}"
|
||||
@@ -101,7 +101,7 @@
|
||||
|
||||
- name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" not managed by "{{ 'host5.' + ipaserver_domain }}"
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ host5_fqdn }}"
|
||||
@@ -120,7 +120,7 @@
|
||||
|
||||
- name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" not managed by "{{ 'host5.' + ipaserver_domain }}" again
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
managedby_host: "{{ host5_fqdn }}"
|
||||
@@ -139,7 +139,7 @@
|
||||
|
||||
- name: Hosts "{{ host1_fqdn }}" .. "{{ 'host5.' + ipaserver_domain }}" absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
- name: "{{ host2_fqdn }}"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
- name: Host host1... and host2... absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
- name: Host hostX... present with principal host/testhostX... X=[1,2]
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
- name: Host hostX... principal 'host/hostX... present (existing already) X=[1,2]
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
- name: Host hostX... principal host/testhostX... present again X=[1,2]
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
- name: Host hostX.. principal host/testhostX... absent X=[1,2]
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
- name: Host hostX... principal host/testhostX... absent again X=[1,2]
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
@@ -103,7 +103,7 @@
|
||||
|
||||
- name: Host hostX... principal host/testhostX... and host/myhostX... present X=[1,2]
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
@@ -119,7 +119,7 @@
|
||||
|
||||
- name: Host hostX... principal host/testhostX... and host/myhostX... present again X=[1,2]
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
@@ -135,7 +135,7 @@
|
||||
|
||||
- name: Host hostX... principal host/testhostX... and host/myhostX... absent X=[1,2]
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
@@ -153,7 +153,7 @@
|
||||
|
||||
- name: Host hostX... principal host/testhostX... and host/myhostX... absent again X=[1,2]
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
hosts:
|
||||
- name: "{{ host1_fqdn }}"
|
||||
principal:
|
||||
@@ -171,7 +171,7 @@
|
||||
|
||||
- name: Hosts host1... and host2... absent
|
||||
ipahost:
|
||||
ipaadmin_password: MyPassword123
|
||||
ipaadmin_password: SomeADMINpassword
|
||||
name:
|
||||
- "{{ host1_fqdn }}"
|
||||
- "{{ host2_fqdn }}"
|
||||
|
||||
Reference in New Issue
Block a user