-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (26 loc) · 896 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
.PHONY: test
IMAGE_NAME := registry.fedoraproject.org/fedora:40
A_P := ansible-playbook -v -e ansible_python_interpreter=/usr/bin/python3 --vault-password-file roles/secret/files/ans-vault.txt
oat:
$(A_P) ./oat.yaml
cacao:
$(A_P) ./cacao.yaml
hops:
$(A_P) ./hops.yaml
rye:
$(A_P) ./rye.yaml
melon:
ansible-playbook -v -e ansible_python_interpreter=/usr/bin/python3 -K ./melon.yaml
cashew:
# FIXME: create a password file here
ansible-playbook -v -e ansible_python_interpreter=/usr/bin/python3 -K ./cashew.yaml
soy:
$(A_P) --skip-tags "graphical,workstation" ./soy.yaml
jahoda:
$(A_P) --skip-tags "graphical,workstation" ./jahoda.yaml
test:
docker run --rm -it -v ${PWD}:/src -w /src $(IMAGE_NAME) ./bootstrap.sh
check-bootstrap:
docker run --rm -it -v ${PWD}:/src:Z -w /src $(IMAGE_NAME) bash -c ' \
dnf install -y ansible git && \
ansible-playbook -vv ./playbook.yaml'