From a82aab526aa8ff92a3ab9c49d3fee2735fa01371 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Mon, 9 Sep 2024 00:39:23 +0200 Subject: [PATCH] fix(fish): machine name --- ansible/templates/fish/machine.fish | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ansible/templates/fish/machine.fish b/ansible/templates/fish/machine.fish index 62d5e62..d90d5b6 100644 --- a/ansible/templates/fish/machine.fish +++ b/ansible/templates/fish/machine.fish @@ -1,2 +1,5 @@ -alias machine-name="{{ device_name }}" +# make available machine name +alias machine-name="echo {{ device_name }}" +export MACHINE_NAME="{{ device_name }}" +