forked from exterrestris/home-network
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
50 lines (35 loc) · 1.99 KB
/
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
41
42
43
44
45
46
47
48
49
50
spacedock memory-alpha memory-beta argus-array epsilon-ix:
ansible-playbook -b linux.yaml --limit $(subst -,_,$@) --skip-tags "setup" --vault-password-file .vault-password
test-machines holosuite-1 holosuite-2:
ansible-playbook -b linux.yaml --limit $(subst -,_,$@) --skip-tags "setup" --vault-password-file .vault-password
wsl:
ansible-playbook -b wsl.yaml --inventory "localhost," --vault-password-file .vault-password
bootstrap-new:
ansible-playbook -b bootstrap.yaml --tags "bootstrap-new" --vault-password-file .vault-password
bootstrap-all:
ansible-playbook -b bootstrap.yaml --tags "bootstrap-all" --vault-password-file .vault-password
full-bootstrap-all:
ansible-playbook -b bootstrap.yaml --tags "bootstrap-all" --vault-password-file .vault-password
ansible-playbook -b linux.yaml --tags "setup" --vault-password-file .vault-password
debug-vars:
ansible-playbook -b debug.yaml --vault-password-file .vault-password
docker-memory-alpha docker-argus-array:
ansible-playbook -b linux.yaml --limit $(subst -,_,$(subst docker-,,$@)) --tags "container-users,docker-compose" --vault-password-file .vault-password
update-spacedock update-memory-alpha update-memory-beta update-argus-array update-epsilon-ix:
ansible-playbook -b linux.yaml --limit $(subst -,_,$(subst update-,,$@)) --tags "updates" --vault-password-file .vault-password
update-all:
ansible-playbook -b linux.yaml --tags "updates" --vault-password-file .vault-password
install-requirements:
ansible-galaxy role install -r requirements.yaml
ansible-galaxy collection install -r requirements.yaml
force-install-requirements:
ansible-galaxy role install -r requirements.yaml --force
ansible-galaxy collection install -r requirements.yaml --force
decrypt-all:
find . -name '*vault.yaml' -exec ansible-vault decrypt {} --vault-password .vault-password \;
encrypt-all:
find . -name '*vault.yaml' -exec ansible-vault encrypt {} --vault-password .vault-password \;
install-git-hooks:
@./install-git-hooks.sh
install-ansible:
@./install-ansible.sh