Skip to content

Commit 6affec4

Browse files
refactor ping installation using nix
1 parent 4586675 commit 6affec4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

playbook.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@
104104
- name: Install Keychain
105105
shell: nix profile install nixpkgs/release-{{ nixos_release }}#keychain --extra-experimental-features nix-command --extra-experimental-features flakes
106106
- name: install ping
107-
apt:
108-
name: iputils-ping
109-
update_cache: yes
107+
shell: nix profile install nixpkgs#iputils-ping --extra-experimental-features nix-command --extra-experimental-features flakes
110108
- name: Get keychain version
111109
shell:
112110
cmd: keychain -V 2> >(grep -i keychain) 2> >(sed 's/[[:alpha:]|(|[:space:]]//g') | fgrep '*' | sed 's/[*~://]//g'

0 commit comments

Comments
 (0)