mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-30 03:14:42 +00:00
Fix host's module managedby_host playbooks.
The host's module example playbooks had syntax errors that prevented its execution. The tasks were described as dicts rather than lists.
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
ipahost:
|
- ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.exmaple.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.exmaple.com
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
ipahost:
|
- ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.exmaple.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.exmaple.com
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
ipahost:
|
- ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
name: host01.exmaple.com
|
name: host01.exmaple.com
|
||||||
managedby_host: server.exmaple.com
|
managedby_host: server.exmaple.com
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Ensure hosts manadegby_host is absent.
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Ensure hosts manadegby_host is absent.
|
||||||
ipahost:
|
ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
ipahost:
|
- ipahost:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
hosts:
|
hosts:
|
||||||
- name: host01.exmaple.com
|
- name: host01.exmaple.com
|
||||||
|
|||||||
@@ -23,4 +23,3 @@
|
|||||||
- name: Print generated random password for host02.example.com
|
- name: Print generated random password for host02.example.com
|
||||||
debug:
|
debug:
|
||||||
var: ipahost.host["host02.example.com"].randompassword
|
var: ipahost.host["host02.example.com"].randompassword
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user