update
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
---
|
||||
- name: Get nix version
|
||||
shell: |
|
||||
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||
@@ -8,7 +9,7 @@
|
||||
register: nix_version_output
|
||||
- name: Set nix version name
|
||||
set_fact:
|
||||
nix_version_on_system: "{{ nix_version_output.stdout_lines[0] | cut -d' ' -f3 }}"
|
||||
nix_version_on_system: "{{ (nix_version_output.stdout_lines[0] | split(' '))[2] }}"
|
||||
when: nix_version_output.rc == 0
|
||||
- name: Download and run installer
|
||||
block:
|
||||
|
||||
Reference in New Issue
Block a user