From ed746a333a29acee3a22b957cfa6692efff9e35f Mon Sep 17 00:00:00 2001 From: Brad Cowie Date: Mon, 28 Oct 2024 14:42:51 +1300 Subject: [PATCH] Fix molecule tests on ubuntu --- molecule/default/prepare.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml index 87e33ab..46c796e 100644 --- a/molecule/default/prepare.yml +++ b/molecule/default/prepare.yml @@ -22,6 +22,12 @@ - "netplan.io" when: ansible_distribution == "Ubuntu" + - name: "Start udev" + ansible.builtin.systemd: + name: "udev.service" + state: "started" + when: ansible_distribution == "Ubuntu" + - name: "Add virtual network interface" ansible.builtin.command: "ip tuntap add eno1 mode tap" args: