-
Notifications
You must be signed in to change notification settings - Fork 4
/
makefile
39 lines (27 loc) · 867 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
# terraform
tfinit:
cd terraform/dns; terraform init
dns:
cd terraform/dns; terraform apply
# core
core:
cd ansible; ansible-playbook -b run.yaml --limit core --ask-become-pass
corecomp:
cd ansible; ansible-playbook run.yaml --limit core --tags compose
status:
cd ansible; ansible-playbook -b run.yaml --limit status --ask-become-pass
statuscomp:
cd ansible; ansible-playbook run.yaml --limit status --tags compose
dev:
cd ansible; ansible-playbook -b run.yaml --limit dev --ask-become-pass
devcomp:
cd ansible; ansible-playbook run.yaml --limit dev --tags compose
# ansible housekeeping
reqs:
cd ansible; ansible-galaxy install -r requirements.yaml
forcereqs:
cd ansible; ansible-galaxy install -r requirements.yaml --force
decrypt:
cd ansible; ansible-vault decrypt vars/vault.yaml
encrypt:
cd ansible; ansible-vault encrypt vars/vault.yaml