[capistrano-mailing-list] Run a task as root user

2016-06-10 Thread Vidhan Agarwal
Hi, I am a sudoer called 'ubuntu' and I want to carry out the following operations on a remote server:- $ sudo su # NR_INSTALL_PHPLIST=/opt/lappstack-5.5.25-0/php/bin # export NR_INSTALL_PHPLIST # newrelic-install install Please guide me how do I frame my 'execute' commands. Vidhan

[capistrano-mailing-list] Help resolve AWS error

2016-05-23 Thread Vidhan Agarwal
set :env_path, 's3api get-object --bucket <> --key <> <>' 6 desc "Get .env file" 7 task :download_configs do 8 on roles(:all) do 9 within release_path do 10 execute :aws, "#{fetch(:env_path)}" 11