Sha256: ebe948ded31e456dd6acdb5d98866e09f59a8ebbece8df27c68c01d74810cf9b

Contents?: true

Size: 343 Bytes

Versions: 6

Compression:

Stored size: 343 Bytes

Contents

#!/usr/bin/env ruby
# WANT_JSON

# init bundler in dev env
if ENV['QB_DEV_ENV']
  ENV.each {|k, v|
    if k.start_with? 'QB_DEV_ENV_'
      ENV[k.sub('QB_DEV_ENV_', '')] = v
    end
  }
  require 'bundler/setup'
end

require 'qb'

class Test < QB::AnsibleModule
  def main
    changed! blah: "blow me: #{ @args['x'] }"
  end
end

Test.new.run

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
qb-0.1.42 dev/scratch/ansible_module/library/test
qb-0.1.41 dev/scratch/ansible_module/library/test
qb-0.1.40 dev/scratch/ansible_module/library/test
qb-0.1.39 dev/scratch/ansible_module/library/test
qb-0.1.38 dev/scratch/ansible_module/library/test
qb-0.1.37 dev/scratch/ansible_module/library/test