Sha256: 242ca247b14075931d081e7c9ee38cf8a9ba930e0530d72f391c19a7e8c506a1
Contents?: true
Size: 431 Bytes
Versions: 11
Compression:
Stored size: 431 Bytes
Contents
class Subspace::Commands::Provision < Subspace::Commands::Base PASS_THROUGH_PARAMS = ["tags", "start-at-task", "private-key", "limit"] def initialize(args, options) @environment = args.first @options = options run end def run ansible_options = ["--diff"] ansible_options = ansible_options | pass_through_params ansible_command "ansible-playbook", "#{@environment}.yml", *ansible_options end end
Version data entries
11 entries across 11 versions & 1 rubygems