-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
40 lines (31 loc) · 816 Bytes
/
Makefile
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
#
#
.PHONY: all
all:
ansible-playbook -i inventory/hosts.ini -c local main.yaml -K
.PHONY: fedora-prereqs
fedora-prereqs:
ansible-playbook -i inventory/hosts.ini -c local playbooks/fedora-prereqs.yaml -K
.PHONY: generate-ignition
generate-ignition:
ansible-playbook -i inventory/hosts.ini -c local playbooks/generate-ign.yaml
.PHONY: prepare-sdcard
prepare-sdcard:
ansible-playbook -i inventory/hosts.ini -c local playbooks/prepare-sdcard.yaml -K
.PHONY: clean
clean: clean-build clean-dist clean-cache
.PHONY: clean-build
clean-build:
rm -rf build
.PHONY: clean-dist
clean-dist:
rm -rf dist
.PHONY: cache-clean
clean-cache:
rm -rf cache
.PHONY: distribution
distribution:
rm -rf dist
mkdir dist
cp -r build/etc dist/
butane --files-dir dist --pretty --strict build/config.bu > dist/config.ign