Debug syntax fixed

This commit is contained in:
Sloetjes
2023-06-14 16:23:16 -04:00
parent 5fcf89f85d
commit bdd9450062
+4 -3
View File
@@ -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