Sha256: 5a811076dec7e554df6048f2a516f3d245522a797e2cb33bd517e948175a38a4

Contents?: true

Size: 476 Bytes

Versions: 5

Compression:

Stored size: 476 Bytes

Contents

namespace :redis do
  task :install do
    on roles :app do
      execute <<-EOBLOCK
        curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
        echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
        sudo apt-get update
        #{apt_nointeractive} redis
      EOBLOCK
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
prun-ops-0.3.4 lib/capistrano/config/redis.rake
prun-ops-0.3.3 lib/capistrano/config/redis.rake
prun-ops-0.3.2 lib/capistrano/config/redis.rake
prun-ops-0.3.1 lib/capistrano/config/redis.rake
prun-ops-0.3.0 lib/capistrano/config/redis.rake