-
Notifications
You must be signed in to change notification settings - Fork 1
/
Justfile
37 lines (29 loc) · 782 Bytes
/
Justfile
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
default:
@just --list --unsorted
setup:
uv venv
source .venv/bin/activate
uv pip install ansible
ansible-galaxy collection install community.general ansible.posix community.crypto
configure target:
@-scripts/configure.sh {{ target }}
clean target:
@-scripts/clean.sh {{ target }}
start-vm:
@-scripts/start-vm.sh
stop-vm:
@-scripts/stop-vm.sh
clean-vm:
@rm -rf archbox cloudinit
configure-vm:
ssh \
-o StrictHostKeyChecking=no \
-o "UserKnownHostsFile /dev/null" \
-p 10022 \
pythops@localhost -t "cd /mnt && SUDO_WITHOUT_PASSWORD=1 just configure all"
ssh-vm:
ssh \
-o StrictHostKeyChecking=no \
-o "UserKnownHostsFile /dev/null" \
-p 10022 \
pythops@localhost