From c8ca60dbf4712ba0f0fd5c19180c366da6ae8fb1 Mon Sep 17 00:00:00 2001 From: Scott Buchanan Date: Fri, 19 Mar 2021 18:00:30 -0400 Subject: [PATCH] Ensure snapd is started immediately Just using `enabled: true` means it will start at boot, but it won't start immediately with just that. You need `state: started` to be the equivalent of `--now`. --- tasks/install-with-snap.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/install-with-snap.yml b/tasks/install-with-snap.yml index 0651e71..4ec68b1 100644 --- a/tasks/install-with-snap.yml +++ b/tasks/install-with-snap.yml @@ -9,6 +9,7 @@ systemd: name: snapd.socket enabled: true + state: started - name: Enable classic snap support. file: