Skip to content
Snippets Groups Projects
Commit 287d12d4 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

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.
parent 786c902a
Branches
Tags
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment