This repository has been archived by the owner on Nov 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.yml
71 lines (58 loc) · 1.43 KB
/
site.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
- hosts: all
gather_facts: no
roles:
- bootstrap
- { role: wipe, tags: [ "unsafe" ], when: "wipe | bool" }
- { role: setup, what: firmware }
- timedate
- { role: partition, tags: [ "unsafe" ] }
- { role: filesystem, tags: [ "unsafe" ],
when: "boot is defined or root is defined" }
- { role: mount,
when: "boot is defined or root is defined" }
- mirror
- install
- configure
# TODO: support none bootloader
- { role: bootloader, tags: [ "unsafe" ] }
- { role: aur, when: "aur | bool" }
# - reboot
vars_prompt:
- name: aur
default: "no"
private: no
# TODO
# - name: boot
# private: no
- name: bootloader
default: auto
private: no
prompt: bootloader (auto, none, grub, syslinux, systemd-boot)
- name: device
default: /dev/sda
private: no
- name: filesystem
default: btrfs
private: no
prompt: filesystem (btrfs, ext4)
- name: firmware
default: auto
private: no
prompt: firmware (auto, bios, uefi)
- name: mirrorlist
default: https://www.archlinux.org/mirrorlist/all/
private: no
- name: packages
private: no
- name: password
default: password
- name: reboot
default: "no"
private: no
- name: timezone
default: UTC
private: no
- name: wipe
default: "no"
private: no