mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
example playbooks: ipaadmin_password is used and consistent.
Some example playbooks do not had the parameter `ipaadmin_password` set, and some had a different value than the standard value "SomeADMINpassword". This patch fixes this difference in all example playbooks.
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure aumount key TestKey is renamed to NewKeyName
|
- name: Ensure aumount key TestKey is renamed to NewKeyName
|
||||||
ipaautomountkey:
|
ipaautomountkey:
|
||||||
ipaadmin_password: password01
|
ipaadmin_password: SomeADMINpassword
|
||||||
automountlocationcn: TestLocation
|
automountlocationcn: TestLocation
|
||||||
automountmapname: TestMap
|
automountmapname: TestMap
|
||||||
automountkey: TestKey
|
automountkey: TestKey
|
||||||
|
|||||||
@@ -6,4 +6,5 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Disable global forwarders.
|
- name: Disable global forwarders.
|
||||||
ipadnsconfig:
|
ipadnsconfig:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
forward_policy: none
|
forward_policy: none
|
||||||
|
|||||||
@@ -6,4 +6,5 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Disallow reverse record synchronization.
|
- name: Disallow reverse record synchronization.
|
||||||
ipadnsconfig:
|
ipadnsconfig:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
allow_sync_ptr: no
|
allow_sync_ptr: no
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Set dnsconfig forwarders.
|
- name: Set dnsconfig forwarders.
|
||||||
ipadnsconfig:
|
ipadnsconfig:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
forwarders:
|
forwarders:
|
||||||
- ip_address: 8.8.4.4
|
- ip_address: 8.8.4.4
|
||||||
- ip_address: 2001:4860:4860::8888
|
- ip_address: 2001:4860:4860::8888
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Set dnsconfig forwarders.
|
- name: Set dnsconfig forwarders.
|
||||||
ipadnsconfig:
|
ipadnsconfig:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
forwarders:
|
forwarders:
|
||||||
- ip_address: 8.8.4.4
|
- ip_address: 8.8.4.4
|
||||||
- ip_address: 2001:4860:4860::8888
|
- ip_address: 2001:4860:4860::8888
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Set dnsconfig.
|
- name: Set dnsconfig.
|
||||||
ipadnsconfig:
|
ipadnsconfig:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
forwarders:
|
forwarders:
|
||||||
- ip_address: 8.8.4.4
|
- ip_address: 8.8.4.4
|
||||||
- ip_address: 2001:4860:4860::8888
|
- ip_address: 2001:4860:4860::8888
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure that 'host04' has CNAME, with cname_hostname, is absent
|
- name: Ensure that 'host04' has CNAME, with cname_hostname, is absent
|
||||||
ipadnsrecord:
|
ipadnsrecord:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
zone_name: example.com
|
zone_name: example.com
|
||||||
name: host04
|
name: host04
|
||||||
cname_hostname: host04.example.com
|
cname_hostname: host04.example.com
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure that 'host04' has CNAME, with cname_hostname, is present
|
- name: Ensure that 'host04' has CNAME, with cname_hostname, is present
|
||||||
ipadnsrecord:
|
ipadnsrecord:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
zone_name: example.com
|
zone_name: example.com
|
||||||
name: host04
|
name: host04
|
||||||
cname_hostname: host04.example.com
|
cname_hostname: host04.example.com
|
||||||
|
|||||||
@@ -6,5 +6,6 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure privilege "Broad Privilege" is absent
|
- name: Ensure privilege "Broad Privilege" is absent
|
||||||
ipaprivilege:
|
ipaprivilege:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: Broad Privilege
|
name: Broad Privilege
|
||||||
state: absent
|
state: absent
|
||||||
|
|||||||
@@ -6,5 +6,6 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure servicedelegationrule test-delegation-rule is absent
|
- name: Ensure servicedelegationrule test-delegation-rule is absent
|
||||||
ipaservicedelegationrule:
|
ipaservicedelegationrule:
|
||||||
name: test-delegation-rule
|
ipaadmin_password: SomeADMINpassword
|
||||||
state: absent
|
name: test-delegation-rule
|
||||||
|
state: absent
|
||||||
|
|||||||
@@ -6,4 +6,5 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure servicedelegationrule test-delegation-rule is present
|
- name: Ensure servicedelegationrule test-delegation-rule is present
|
||||||
ipaservicedelegationrule:
|
ipaservicedelegationrule:
|
||||||
name: test-delegation-rule
|
ipaadmin_password: SomeADMINpassword
|
||||||
|
name: test-delegation-rule
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure principal member test/example.com is absent in servicedelegationrule test-delegation-rule
|
- name: Ensure principal member test/example.com is absent in servicedelegationrule test-delegation-rule
|
||||||
ipaservicedelegationrule:
|
ipaservicedelegationrule:
|
||||||
name: test-delegation-rule
|
ipaadmin_password: SomeADMINpassword
|
||||||
principal: test/example.com
|
name: test-delegation-rule
|
||||||
action: member
|
principal: test/example.com
|
||||||
state: absent
|
action: member
|
||||||
|
state: absent
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure principal member test/example.com is present in servicedelegationrule test-delegation-rule
|
- name: Ensure principal member test/example.com is present in servicedelegationrule test-delegation-rule
|
||||||
ipaservicedelegationrule:
|
ipaservicedelegationrule:
|
||||||
name: test-delegation-rule
|
ipaadmin_password: SomeADMINpassword
|
||||||
principal: test/example.com
|
name: test-delegation-rule
|
||||||
action: member
|
principal: test/example.com
|
||||||
|
action: member
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure member test/example.com is absent in servicedelegationrule test-delegation-rule
|
- name: Ensure member test/example.com is absent in servicedelegationrule test-delegation-rule
|
||||||
ipaservicedelegationrule:
|
ipaservicedelegationrule:
|
||||||
name: test-delegation-rule
|
ipaadmin_password: SomeADMINpassword
|
||||||
principal: test/example.com
|
name: test-delegation-rule
|
||||||
action: member
|
principal: test/example.com
|
||||||
state: absent
|
action: member
|
||||||
|
state: absent
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure member test/example.com is present in servicedelegationrule test-delegation-rule
|
- name: Ensure member test/example.com is present in servicedelegationrule test-delegation-rule
|
||||||
ipaservicedelegationrule:
|
ipaservicedelegationrule:
|
||||||
name: test-delegation-rule
|
ipaadmin_password: SomeADMINpassword
|
||||||
principal: test/example.com
|
name: test-delegation-rule
|
||||||
action: member
|
principal: test/example.com
|
||||||
|
action: member
|
||||||
|
|||||||
@@ -6,5 +6,6 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure servicedelegationtarget test-delegation-target is absent
|
- name: Ensure servicedelegationtarget test-delegation-target is absent
|
||||||
ipaservicedelegationtarget:
|
ipaservicedelegationtarget:
|
||||||
name: test-delegation-target
|
ipaadmin_password: SomeADMINpassword
|
||||||
state: absent
|
name: test-delegation-target
|
||||||
|
state: absent
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure member test/example.com is absent in servicedelegationtarget test-delegation-target
|
- name: Ensure member test/example.com is absent in servicedelegationtarget test-delegation-target
|
||||||
ipaservicedelegationtarget:
|
ipaservicedelegationtarget:
|
||||||
name: test-delegation-target
|
ipaadmin_password: SomeADMINpassword
|
||||||
principal: test/example.com
|
name: test-delegation-target
|
||||||
action: member
|
principal: test/example.com
|
||||||
state: absent
|
action: member
|
||||||
|
state: absent
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure member test/example.com is present in servicedelegationtarget test-delegation-target
|
- name: Ensure member test/example.com is present in servicedelegationtarget test-delegation-target
|
||||||
ipaservicedelegationtarget:
|
ipaservicedelegationtarget:
|
||||||
name: test-delegation-target
|
ipaadmin_password: SomeADMINpassword
|
||||||
principal: test/example.com
|
name: test-delegation-target
|
||||||
action: member
|
principal: test/example.com
|
||||||
|
action: member
|
||||||
|
|||||||
@@ -6,4 +6,5 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure servicedelegationtarget test-delegation-target is present
|
- name: Ensure servicedelegationtarget test-delegation-target is present
|
||||||
ipaservicedelegationtarget:
|
ipaservicedelegationtarget:
|
||||||
name: test-delegation-target
|
ipaadmin_password: SomeADMINpassword
|
||||||
|
name: test-delegation-target
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure sudocmdgroup is absent
|
- name: Ensure sudocmdgroup is absent
|
||||||
ipasudocmdgroup:
|
ipasudocmdgroup:
|
||||||
ipaadmin_password: pass1234
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: network
|
name: network
|
||||||
state: absent
|
state: absent
|
||||||
action: sudocmdgroup
|
action: sudocmdgroup
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure sudocmdgroup sudocmds are present
|
- name: Ensure sudocmdgroup sudocmds are present
|
||||||
ipasudocmdgroup:
|
ipasudocmdgroup:
|
||||||
ipaadmin_password: pass1234
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: network
|
name: network
|
||||||
description: Group of important commands.
|
description: Group of important commands.
|
||||||
sudocmd:
|
sudocmd:
|
||||||
|
|||||||
@@ -6,6 +6,6 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure sudorule command is absent
|
- name: Ensure sudorule command is absent
|
||||||
ipasudorule:
|
ipasudorule:
|
||||||
ipaadmin_password: pass1234
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: testrule1
|
name: testrule1
|
||||||
state: absent
|
state: absent
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Add topology segment
|
- name: Add topology segment
|
||||||
ipatopologysegment:
|
ipatopologysegment:
|
||||||
ipaadmin_password: "{{ ipaadmin_password }}"
|
ipaadmin_password: SomeADMINpassword
|
||||||
suffix: "{{ item.suffix }}"
|
suffix: "{{ item.suffix }}"
|
||||||
name: "{{ item.name | default(omit) }}"
|
name: "{{ item.name | default(omit) }}"
|
||||||
left: "{{ item.left }}"
|
left: "{{ item.left }}"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Add topology segment
|
- name: Add topology segment
|
||||||
ipatopologysegment:
|
ipatopologysegment:
|
||||||
ipaadmin_password: "{{ ipaadmin_password }}"
|
ipaadmin_password: SomeADMINpassword
|
||||||
suffix: "{{ item.suffix }}"
|
suffix: "{{ item.suffix }}"
|
||||||
name: "{{ item.name | default(omit) }}"
|
name: "{{ item.name | default(omit) }}"
|
||||||
left: "{{ item.left }}"
|
left: "{{ item.left }}"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Add topology segment
|
- name: Add topology segment
|
||||||
ipatopologysegment:
|
ipatopologysegment:
|
||||||
ipaadmin_password: "{{ ipaadmin_password }}"
|
ipaadmin_password: SomeADMINpassword
|
||||||
suffix: "{{ item.suffix }}"
|
suffix: "{{ item.suffix }}"
|
||||||
name: "{{ item.name | default(omit) }}"
|
name: "{{ item.name | default(omit) }}"
|
||||||
left: "{{ item.left }}"
|
left: "{{ item.left }}"
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: ensure the trust is present
|
- name: ensure the trust is present
|
||||||
ipatrust:
|
ipatrust:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
realm: windows.local
|
realm: windows.local
|
||||||
admin: Administrator
|
admin: Administrator
|
||||||
password: secret_password
|
password: secret_password
|
||||||
|
|||||||
@@ -6,5 +6,6 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: ensure the trust is absent
|
- name: ensure the trust is absent
|
||||||
ipatrust:
|
ipatrust:
|
||||||
|
ipaadmin_password: SomeADMINpassword
|
||||||
realm: windows.local
|
realm: windows.local
|
||||||
state: absent
|
state: absent
|
||||||
|
|||||||
Reference in New Issue
Block a user