This commit is contained in:
LinuxSquare 2024-06-27 21:52:41 +02:00
parent ef09d172a9
commit 3f4bd3b8cc

View file

@ -23,12 +23,12 @@
- name: Get ROOT_UUID - name: Get ROOT_UUID
shell: | shell: |
lsblk -o LABEL,UUID | grep ROOT | awk '{print $2}' lsblk -o LABEL,UUID | grep ROOT | awk '{print $2}'
register: ROOT_UUID register: root_uuid
run_once: true run_once: true
- name: Get ESP_UUID - name: Get ESP_UUID
shell: | shell: |
lsblk -o LABEL,UUID | grep EFI | awk '{print $2}' lsblk -o LABEL,UUID | grep EFI | awk '{print $2}'
register: ESP_UUID register: esp_uuid
run_once: true run_once: true
- name: Deploy fstab - name: Deploy fstab
template: template:
@ -38,7 +38,7 @@
group: root group: root
mode: '0644' mode: '0644'
vars: vars:
ROOT_UUID: '{{ ROOT_UUID.stdout }}' ROOT_UUID: '{{ root_uuid.stdout }}'
ESP_UUID: '{{ ESP_UUID.stdout }}' ESP_UUID: '{{ esp_uuid.stdout }}'
TIMESTAMP: '{{ start_timestamp }}' TIMESTAMP: '{{ start_timestamp }}'
TMPFS_SIZE: '{{ tmpfs_size }}' TMPFS_SIZE: '{{ tmpfs_size }}'