forked from lexrus/ios-dev-playbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
60 lines (49 loc) · 1.22 KB
/
Rakefile
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
51
52
53
54
55
56
57
58
59
60
desc "Install dependencies"
task :init do
exec "ansible-galaxy install --ignore-errors --force " \
" --role-file=ansible_galaxy_dependencies.txt"
end
desc "Upgrade to wheezy"
task :prepare do
exec "ansible-playbook 000_prepare_wheezy.yml -l cloud"
end
desc "Install common utitilies"
task :common do
exec "ansible-playbook 001_common_utilities.yml"
end
desc "Add SSH keys from GitHub"
task :github_keys do
exec "ansible-playbook 002_ssh_keys_from_github.yml -l cloud"
end
desc "Set swap on"
task :swapon do
exec "ansible-playbook 003_swapon.yml"
end
desc "Install Countly server"
task :countly do
exec "ansible-playbook 012_countly.yml -l countly"
end
desc "Install GitLab server"
task :gitlab do
exec "ansible-playbook 010_gitlab.yml -l gitlab"
end
desc "Install Jenkins server"
task :jenkins do
exec "ansible-playbook 011_jenkins.yml -l jenkins"
end
desc "Install Ghost server"
task :ghost do
exec "ansible-playbook 030_ghost.yml"
end
desc "Install cow server"
task :cow do
exec "ansible-playbook 020_cow_backend.yml"
end
desc "Install shadowsocks server"
task :shadowsocks do
exec "ansible-playbook 022_shadowsocks.yml"
end
desc "Test"
task :test do
exec "vagrant up --no-provision && vagrant provision"
end