From ff961b5f01c2276ae1a8928dd8c0d46f97bce8d3 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 7 Aug 2022 12:56:34 +0300 Subject: fix: make ping work When ping is initially installed, it doesn't get the capabilities it needs to do its thing. Re-install it so it works. Sponsored-by: author --- installer-ansible.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/installer-ansible.yml b/installer-ansible.yml index 22a9a73..627bffa 100644 --- a/installer-ansible.yml +++ b/installer-ansible.yml @@ -15,6 +15,18 @@ shell: | sed -i '/^root:[^:]*:/s//root::/' /etc/passwd + # Remove ping to force it be reinstalled so that the right + # capabilities are set. + - name: "remove ping so it can be re-installed" + apt: + name: iputils-ping + state: absent + + - name: "re-install ping" + apt: + name: iputils-ping + state: present + - name: "uninstall rsyslogd" apt: name: rsyslogd -- cgit v1.2.1