Debug syntax fixed
This commit is contained in:
+4
-3
@@ -38,9 +38,10 @@
|
|||||||
ports:
|
ports:
|
||||||
- "2222:22"
|
- "2222:22"
|
||||||
register: container
|
register: container
|
||||||
- debug:
|
|
||||||
# TODO: figure out how to extract the hostname from the above variable
|
- name: Debug container Config.Hostname
|
||||||
var: "{{ container.Config.Hostname }}"
|
debug:
|
||||||
|
var: container.Config.Hostname
|
||||||
|
|
||||||
- name: Basic system checks
|
- name: Basic system checks
|
||||||
hosts: docker_container
|
hosts: docker_container
|
||||||
|
|||||||
Reference in New Issue
Block a user