From 76d76d98ed690a6d4e0db8e17fc33df5865623ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de> Date: Thu, 19 Jan 2023 10:28:21 +0100 Subject: [PATCH] add Facts debug output --- tasks/configure_network.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/configure_network.yml b/tasks/configure_network.yml index 269efcd..d1a953e 100644 --- a/tasks/configure_network.yml +++ b/tasks/configure_network.yml @@ -30,6 +30,10 @@ # to avoid any interference and hand over management for that interface to # `systemd-networkd`. Now, '/etc/network/interfaces' will only contain the # config for the loopback interface. +- name: IP + ansible.builtin.debug: + msg: "{{ ansible_facts.default_ipv4 }}" + - name: deploy network interface config ansible.builtin.template: src: "{{ item }}.j2" -- GitLab