-
Notifications
You must be signed in to change notification settings - Fork 0
/
bleetz.conf.example
107 lines (91 loc) · 1.99 KB
/
bleetz.conf.example
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
### SSH configuration
## :host can be an ip or a domain
#
#set :host, '127.0.0.1'
#set :host, 'a.fraking.domain'
## Port configuration
#
# By default, port = 22.
#set :port, 22
## username configuration
#
#set :username, 'user_login'
## Auth configuration
#
# You can avoid this line if you use public key,
# or if you want to give pwd during your action.
# set :password, "password"
# Advice: don't configure plain text password.
## SSH Private Keys - default: $HOME/.ssh/id_dsa, $HOME/.ssh2/id_dsa, $HOME/.ssh/id_rsa, and $HOME/.ssh2/id_rsa
#
# Example:
#set :keys, ['/tmp/a_key']
#set :keys, ['/tmp/a_key', '/root/.ssh/another_key']
# SSH Timeout - Default: 10
# Example:
# set :timeout, 0
### VERY OPTIONNAL SSH CONFIGS
## ProxyCommand
# You can set proxy command as your .ssh/config file
#
# !! WARN !!
# DUE TO NET-SSH GEM PB, IT CAN BE VERY LOW TO CLOSE SESSION. BUT... IT WORKS !
# !! /WARN !!
#
# Example:
# set :proxycmd, 'ssh lol@domain nc %h blabla'
## SSH Compression - default: none
# You can choose:
# - 'zlib'
# - 'none'
#
#Example:
#set :compression, 'zlib'
## SSH Compression level - default: 6
# 0 to 9:
# 0 is no compression
# 9 is most compression
#
# Example
#set :compression_level, 6
## SSH Encryption - default: 3des-cbc
# You can pass an array to avoid algorithm problem (fallback system)
# Algorithms provided:
# - aes128-cbc
# - blowfish-cbc
# - aes256-cbc
# - aes192-cbc
# - idea-cbc
# - none
#
# Example:
#set :encryption, 'aes192-cbc'
#set :encryption, ['aes192-cbc', 'blowfish-cbc']
## SSH Host key type - default : ssh-dss
# provided type:
# - ssh-dss
# - ssh-rsa
#
# Example:
#set :host_key, 'ssh-dss'
#set :host_key, ['ssh-dss', 'ssh-rsa']
### OPTIONNAL SSH CONFIGS END
#action(:deploy) {
# shell 'echo "test"'
# shell 'echo \'string with single quote\''
# shell "echo 'bleetz rocks'"
#}
#action(:moar) {
# shell 'echo \'MOAR task !\''
# call :deploy
#}
#
### Callback
#
#before(:deploy) {
# shell "echo 'before deploy in local'"
#}
#
#after(:moar) {
# shell "echo 'MOAR LULZ IN LOCAL'"
#}