aboutsummaryrefslogtreecommitdiff
blob: ba658563fbac0bae4531cc4dfe1d6803803b2f65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
- name: mkdir /mnt/gentoo
  ansible.builtin.file:
    path: /mnt/gentoo
    state: directory
  tags:
    - mount
    - early-mount

- name: mount /
  ansible.builtin.command: "mount /dev/{{ vgs }}/rootfs /mnt/gentoo"
  tags:
    - mount
    - early-mount

- name: mkdir /mnt/gentoo/boot
  ansible.builtin.file:
    path: /mnt/gentoo/boot
    state: directory
  tags:
    - mount
    - early-mount

- name: mount /boot
  ansible.builtin.command: "mount LABEL=BOOT /mnt/gentoo/boot"
  tags:
    - mount
    - early-mount

- name: mkdir /mnt/gentoo/boot/efi
  ansible.builtin.file:
    path: /mnt/gentoo/boot/efi
    state: directory
  tags:
    - mount
    - early-mount

- name: mount /boot/efi
  ansible.builtin.command: "mount LABEL=EFI /mnt/gentoo/boot/efi"
  tags:
    - mount
    - early-mount

- name: mkdir /mnt/gentoo/tmp
  ansible.builtin.file:
    path: /mnt/gentoo/tmp
    state: directory
    mode: '01777'
  tags:
    - mount
    - early-mount