From 36e88ae2d32ff75757ac1254df006471d2ac010e Mon Sep 17 00:00:00 2001 From: Markus Rosenstihl Date: Mon, 12 Feb 2024 13:34:25 +0100 Subject: [PATCH] added inventory number extraction --- liebchen.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/liebchen.yml b/liebchen.yml index 5d07977..00922bd 100644 --- a/liebchen.yml +++ b/liebchen.yml @@ -181,7 +181,9 @@ dest: /etc/dconf/profile/user - name: Update default dock confuguration command: dconf update - + + - name: Extract inventory number + command: grep -oP inventory_number=\K\d+ /etc/inventory_number.cmdline > /ect/inventory_number - name: Reboot ansible.builtin.reboot: reboot_timeout: 60