forked from davestephens/ansible-nas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (23 loc) · 917 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
.PHONY: default
default: nas-dry auto-dry
all:
@echo " \e[0;35m ---> Building ALL servers \e[0m "
- @ansible-playbook playbooks/nas-play.yml -e targets=nas_grp -b -K
- @ansible-playbook playbooks/auto-play.yml -e targets=auto_grp -b -K
# build my NAS
nas:
@echo " \e[0;35m ---> Building NAS server \e[0m "
- git pull
- @ansible-playbook playbooks/nas-play.yml -e targets=nas_grp -b -K
# build my NAS dry-run
nas-dry:
@echo " \e[0;35m ---> Building NAS server [dry-run!] \e[0m "
- @ansible-playbook playbooks/nas-play.yml -e targets=nas_grp -b -K --check --diff
# build my AUTO server
auto:
@echo " \e[0;35m ---> Building AUTO server \e[0m "
- @ansible-playbook playbooks/auto-play.yml -e targets=auto_grp -b -K
# build my AUTO server dry-run
auto-dry:
@echo " \e[0;35m ---> Building AUTO server [dry-run!] \e[0m "
- @ansible-playbook playbooks/auto-play.yml -e targets=auto_grp -b -K --check --diff