20 lines
639 B
YAML

- name: Set up network on Scully
hosts: Scully
become: true
vars:
ansible_python_interpreter: /usr/bin/python3
tasks: # Added tasks block
- name: Debug: Read registries.conf on Scully
ansible.builtin.command: cat /home/ubuntu/.config/containers/registries.conf
register: registries_conf_content_debug
changed_when: false
ignore_errors: true
- name: Debug: Display registries.conf content
debug:
var: registries_conf_content_debug.stdout
when: registries_conf_content_debug.rc == 0
roles:
- common
- podman # Ensure podman is configured before network
- network