diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-08-07 12:56:34 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-08-07 12:56:34 +0300 |
commit | ff961b5f01c2276ae1a8928dd8c0d46f97bce8d3 (patch) | |
tree | 286278d8742c2fe3d6ba3661f30a3cbe47fad945 /installer-ansible.yml | |
parent | 485e5592848f4d46c745f3ccef8b22a296f8b45a (diff) | |
download | v-i-ff961b5f01c2276ae1a8928dd8c0d46f97bce8d3.tar.gz |
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
Diffstat (limited to 'installer-ansible.yml')
-rw-r--r-- | installer-ansible.yml | 12 |
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 |