summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-08-07 09:57:46 +0000
committerLars Wirzenius <liw@liw.fi>2022-08-07 09:57:46 +0000
commit4a1c88ea93a9f3800e6139d515e27f2cad0680ab (patch)
tree286278d8742c2fe3d6ba3661f30a3cbe47fad945
parent485e5592848f4d46c745f3ccef8b22a296f8b45a (diff)
parentff961b5f01c2276ae1a8928dd8c0d46f97bce8d3 (diff)
downloadv-i-4a1c88ea93a9f3800e6139d515e27f2cad0680ab.tar.gz
Merge branch 'ping' into 'main'
fix: make ping work See merge request larswirzenius/v-i!33
-rw-r--r--installer-ansible.yml12
1 files changed, 12 insertions, 0 deletions
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