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:
Rafael Guterres Jeffman
2020-08-27 16:26:18 -03:00
parent d5179b523e
commit 880e7ccf08
7 changed files with 6 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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:

View File

@@ -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:

View File

@@ -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

View File

@@ -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