-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (25 loc) · 1.06 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
SHELL = /bin/bash
all: install_ansible install_general_packages install_zsh install_docker install_nvim
install_ansible:
brew install ansible
ansible-galaxy collection install community.general
install_vim:
which ansible || $(MAKE) install_ansible
ansible-playbook -i "localhost," -c local playbooks/neovim.yaml
install_general_packages:
which ansible || $(MAKE) install_ansible
ansible-playbook -i "localhost," -c local playbooks/packages.yaml
install_zsh:
which ansible || $(MAKE) install_ansible
ansible-playbook -i "localhost," -c local playbooks/install-oh-my-zsh.yaml --ask-become-pass
install_docker:
which ansible || $(MAKE) install_ansible
ansible-playbook -i "localhost," -c local playbooks/docker.yaml
install_nvim:
which ansible || $(MAKE) install_ansible
ansible-playbook -i "localhost," -c local playbooks/neovim.yaml
install_brew:
/bin/bash -c "$$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
install_asdf:
which ansible || $(MAKE) install_ansible
ansible-playbook -i "localhost," -c local playbooks/asdf.yaml