Sha256: 952a50b508087ec8657d45b527c3194b7e6215cf5ab0037363c18c589dd57046
Contents?: true
Size: 630 Bytes
Versions: 14
Compression:
Stored size: 630 Bytes
Contents
namespace :shiplane do desc "Bootstrap host - provisions docker and nginx-proxy" task :bootstrap, [:role] => ['bootstrap:default'] namespace :bootstrap do task :default, [:role] do |task, args| filter = args.fetch('role', 'all') hosts = roles(filter).map do |host| Shiplane::ChefHost.new(host, env) end set :shiplane_hosts, hosts %w{ prepare install configure cleanup }.each do |task| invoke "shiplane:bootstrap:#{task}" end end task :prepare do end task :install do end task :configure do end task :cleanup do end end end
Version data entries
14 entries across 14 versions & 1 rubygems