Use release-version of inventory, instead hardcode

This commit is contained in:
LinuxSquare 2025-04-25 22:23:28 +02:00
parent 4eb80faf53
commit 163ade7561

View file

@ -42,7 +42,7 @@
group: root group: root
mode: "0644" mode: "0644"
vars: vars:
OS_VERSION: "2406" OS_VERSION: "{{ release_version }}"
OS_RELEASE_INFO: '"Timestamp: {{ CURRENT_SUBVOLUME_TIMESTAMP_HUMAN.stdout }} | Kernel: {{ KERNEL_VERSION.stdout }}"' OS_RELEASE_INFO: '"Timestamp: {{ CURRENT_SUBVOLUME_TIMESTAMP_HUMAN.stdout }} | Kernel: {{ KERNEL_VERSION.stdout }}"'
- name: Motd Directory - name: Motd Directory
file: file:
@ -59,7 +59,7 @@
group: root group: root
mode: "0644" mode: "0644"
vars: vars:
OS_NAME: "Novos 2406" OS_NAME: "Novos {{ release_version }}"
OS_RELEASE_INFO: "Timestamp: {{ CURRENT_SUBVOLUME_TIMESTAMP_HUMAN.stdout }} | Kernel: {{ KERNEL_VERSION.stdout }}" OS_RELEASE_INFO: "Timestamp: {{ CURRENT_SUBVOLUME_TIMESTAMP_HUMAN.stdout }} | Kernel: {{ KERNEL_VERSION.stdout }}"
OS_ISSUE_URL: "https://git.noveria.org/Novos/ISO/issues" OS_ISSUE_URL: "https://git.noveria.org/Novos/ISO/issues"
- name: Issue - name: Issue
@ -70,5 +70,5 @@
group: root group: root
mode: "0644" mode: "0644"
vars: vars:
OS_NAME: "Novos 2406" OS_NAME: "Novos {{ release_version }}"
OS_RELEASE_INFO: "{{ CURRENT_SUBVOLUME_TIMESTAMP_HUMAN.stdout }}" OS_RELEASE_INFO: "{{ CURRENT_SUBVOLUME_TIMESTAMP_HUMAN.stdout }}"