Update roles (#101)
This commit is contained in:
parent
029191c863
commit
3052090f72
|
@ -110,11 +110,11 @@ install {
|
||||||
hosts = "tusd"
|
hosts = "tusd"
|
||||||
name = "Install tusd"
|
name = "Install tusd"
|
||||||
roles {
|
roles {
|
||||||
role = "{{{init.paths.roles_dir}}}/apt/1.3.0"
|
role = "{{{init.paths.roles_dir}}}/apt/1.4.0"
|
||||||
apt_install = ["apg", "build-essential", "curl", "git-core", "htop", "iotop", "libpcre3", "logtail", "mlocate", "mtr", "psmisc", "telnet", "vim", "wget"]
|
apt_install = ["apg", "build-essential", "curl", "git-core", "htop", "iotop", "libpcre3", "logtail", "mlocate", "mtr", "psmisc", "telnet", "vim", "wget"]
|
||||||
}
|
}
|
||||||
roles {
|
roles {
|
||||||
role = "{{{init.paths.roles_dir}}}/unattended-upgrades/1.3.0"
|
role = "{{{init.paths.roles_dir}}}/unattended-upgrades/1.3.1"
|
||||||
}
|
}
|
||||||
tasks {
|
tasks {
|
||||||
lineinfile = "dest=/home/{{{config.global.ssh.user}}}/.bashrc line=\"alias wtf='sudo tail -f /var/log/*{log,err} /var/log/{dmesg,messages,*{,/*}{log,err}}'\" owner={{{config.global.ssh.user}}} group={{{config.global.ssh.user}}} mode=0644 backup=yes"
|
lineinfile = "dest=/home/{{{config.global.ssh.user}}}/.bashrc line=\"alias wtf='sudo tail -f /var/log/*{log,err} /var/log/{dmesg,messages,*{,/*}{log,err}}'\" owner={{{config.global.ssh.user}}} group={{{config.global.ssh.user}}} mode=0644 backup=yes"
|
||||||
|
@ -156,7 +156,7 @@ setup {
|
||||||
upstart_user = "www-data"
|
upstart_user = "www-data"
|
||||||
}
|
}
|
||||||
roles {
|
roles {
|
||||||
role = "{{{init.paths.roles_dir}}}/rsyslog/3.1.0"
|
role = "{{{init.paths.roles_dir}}}/rsyslog/3.1.1"
|
||||||
rsyslog_rsyslog_d_files "49-tusd" {
|
rsyslog_rsyslog_d_files "49-tusd" {
|
||||||
directives = ["& stop"]
|
directives = ["& stop"]
|
||||||
rules {
|
rules {
|
||||||
|
@ -166,7 +166,7 @@ setup {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
roles {
|
roles {
|
||||||
role = "{{{init.paths.roles_dir}}}/fqdn/1.0.0"
|
role = "{{{init.paths.roles_dir}}}/fqdn/1.2.1"
|
||||||
fqdn = "{{lookup('env', 'FREY_DOMAIN')}}"
|
fqdn = "{{lookup('env', 'FREY_DOMAIN')}}"
|
||||||
}
|
}
|
||||||
tasks {
|
tasks {
|
||||||
|
@ -202,7 +202,7 @@ deploy {
|
||||||
hosts = "tusd"
|
hosts = "tusd"
|
||||||
name = "Deploy tusd"
|
name = "Deploy tusd"
|
||||||
roles {
|
roles {
|
||||||
role = "{{{init.paths.roles_dir}}}/deploy/1.4.0"
|
role = "{{{init.paths.roles_dir}}}/deploy/2.0.0"
|
||||||
ansistrano_deploy_from = "./files/tusd_linux_amd64.tar.gz"
|
ansistrano_deploy_from = "./files/tusd_linux_amd64.tar.gz"
|
||||||
ansistrano_deploy_to = "{{{config.global.approot}}}"
|
ansistrano_deploy_to = "{{{config.global.approot}}}"
|
||||||
ansistrano_deploy_via = "copy_unarchive"
|
ansistrano_deploy_via = "copy_unarchive"
|
||||||
|
@ -221,7 +221,7 @@ deploy {
|
||||||
hosts = "tusd"
|
hosts = "tusd"
|
||||||
name = "Deploy nginx"
|
name = "Deploy nginx"
|
||||||
roles {
|
roles {
|
||||||
role = "{{{init.paths.roles_dir}}}/apt/1.3.0"
|
role = "{{{init.paths.roles_dir}}}/apt/1.4.0"
|
||||||
apt_install = ["nginx-light"]
|
apt_install = ["nginx-light"]
|
||||||
}
|
}
|
||||||
tasks {
|
tasks {
|
||||||
|
|
Loading…
Reference in New Issue