Browse Source

current

master
parent
commit
644bf29584
1 changed files with 10 additions and 10 deletions
  1. +10
    -10
      vars/main.yml

+ 10
- 10
vars/main.yml View File

@@ -9,7 +9,7 @@ hard_disks:
- device: "{{ hard_disk_device }}" - device: "{{ hard_disk_device }}"
label_type: "{{ _label_type[installation_profile] }}" label_type: "{{ _label_type[installation_profile] }}"
partitions: "{{ _partitions[installation_profile] }}" partitions: "{{ _partitions[installation_profile] }}"
_label_type: _label_type:
bios: msdos bios: msdos
efi: gpt efi: gpt
@@ -65,26 +65,26 @@ _crypt_device:
efi: /dev/disk/by-partlabel/{{inventory_hostname}}-crypt efi: /dev/disk/by-partlabel/{{inventory_hostname}}-crypt


volume_groups: volume_groups:
- name: "{{inventory_hostname}}-vg0"
- name: vg
devices: devices:
- /dev/mapper/{{inventory_hostname}}-crypt0 - /dev/mapper/{{inventory_hostname}}-crypt0
logical_volumes: logical_volumes:
- name: root - name: root
size: 32G size: 32G
volume_group: "{{inventory_hostname}}-vg0"
volume_group: vg
- name: swap - name: swap
size: 8G
volume_group: "{{inventory_hostname}}-vg0"
size: 1G
volume_group: vg
- name: home - name: home
size: 100%FREE size: 100%FREE
volume_group: "{{inventory_hostname}}-vg0"
volume_group: vg
filesystems: "{{ _filesystems[installation_profile] }}" filesystems: "{{ _filesystems[installation_profile] }}"


_filesystems: _filesystems:
bios: bios:
- device: /dev/{{inventory_hostname}}-vg0/root
- device: /dev/vg/root
mount_point: / mount_point: /
fstype: btrfs fstype: btrfs
uuid: "{{ _fs_uuid_root }}" uuid: "{{ _fs_uuid_root }}"
@@ -101,7 +101,7 @@ _filesystems:
fstype: btrfs fstype: btrfs
uuid: "{{ _fs_uuid_select }}" uuid: "{{ _fs_uuid_select }}"
efi: efi:
- device: /dev/{{inventory_hostname}}-vg0/root
- device: /dev/vg/root
mount_point: / mount_point: /
fstype: btrfs fstype: btrfs
uuid: "{{ _fs_uuid_root }}" uuid: "{{ _fs_uuid_root }}"


Loading…
Cancel
Save