Files
ansible-role_podman-host/extensions/molecule/default/tasks/create-fail.yml
T
Mike Holloway 7c86412b04
Gitea Actions - molecule test work / Explore-molecule-Gitea-Action (push) Failing after 25s
Integrating test-molecule role commit b90b020ad2
2025-01-04 17:44:27 -05:00

14 lines
293 B
YAML

- name: Retrieve container log
ansible.builtin.command:
cmd: >-
{% raw %}
docker logs
{% endraw %}
{{ item.stdout_lines[0] }}
changed_when: false
register: logfile_cmd
- name: Display container log
ansible.builtin.fail:
msg: "{{ logfile_cmd.stderr }}"