From bfdc69b90e5618be2a412090f3e159bb2578da0b Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 27 Oct 2022 10:55:02 -0700 Subject: [PATCH] Remove snapd from our servers A long long time ago we globally removed snapd. Then we started to use it to install kubectl so snapd was added back to things. Then we stopped using kubectl snaps relying on openshift tooling instead. When we did that we removed the removal of snapd. This means that new servers come with snapd and don't get it removed. In theory this is a safe change because nothing we deploy should be relying on snaps. However, I'm not entirely sure how to audit that to be 100% sure. We should probably try to double check this a bit more before deploying it. Change-Id: I0441bda5beb018eb0a85dcdefa7f54c0c2d7ade4 --- playbooks/roles/base/server/tasks/Debian.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/roles/base/server/tasks/Debian.yaml b/playbooks/roles/base/server/tasks/Debian.yaml index 2ab871ab98..06de2e9fdb 100644 --- a/playbooks/roles/base/server/tasks/Debian.yaml +++ b/playbooks/roles/base/server/tasks/Debian.yaml @@ -46,6 +46,7 @@ - lxd-client - cloud-init - open-vm-tools + - snapd state: absent - name: Get rid of extra depends