Update roles (#101)

This commit is contained in:
Mischa ter Smitten 2017-01-31 13:37:18 +01:00 committed by Kevin van Zonneveld
parent 029191c863
commit 3052090f72
1 changed files with 6 additions and 6 deletions

View File

@ -110,11 +110,11 @@ install {
hosts = "tusd"
name = "Install tusd"
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"]
}
roles {
role = "{{{init.paths.roles_dir}}}/unattended-upgrades/1.3.0"
role = "{{{init.paths.roles_dir}}}/unattended-upgrades/1.3.1"
}
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"
@ -156,7 +156,7 @@ setup {
upstart_user = "www-data"
}
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" {
directives = ["& stop"]
rules {
@ -166,7 +166,7 @@ setup {
}
}
roles {
role = "{{{init.paths.roles_dir}}}/fqdn/1.0.0"
role = "{{{init.paths.roles_dir}}}/fqdn/1.2.1"
fqdn = "{{lookup('env', 'FREY_DOMAIN')}}"
}
tasks {
@ -202,7 +202,7 @@ deploy {
hosts = "tusd"
name = "Deploy tusd"
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_to = "{{{config.global.approot}}}"
ansistrano_deploy_via = "copy_unarchive"
@ -221,7 +221,7 @@ deploy {
hosts = "tusd"
name = "Deploy nginx"
roles {
role = "{{{init.paths.roles_dir}}}/apt/1.3.0"
role = "{{{init.paths.roles_dir}}}/apt/1.4.0"
apt_install = ["nginx-light"]
}
tasks {