Sha256: cd9f952fb0898c380e779da838f15ae09c13105466174bdb651fa988ab210b92

Contents?: true

Size: 907 Bytes

Versions: 6

Compression:

Stored size: 907 Bytes

Contents

#!/usr/bin/env ruby
# WANT_JSON

# Load QB's Ansible module autorun harness
load ENV['QB_AM_AUTORUN_PATH']

class {{ role_module_class }} < QB::Ansible::Module
  
  # Arguments
  # ==========================================================================
  # 
  # Define arguments using the {NRSER::Props} system.
  # 
  
  # Execution
  # ==========================================================================
  
  # Entry point for the module. invoked by {\#run}.
  # 
  # @return [nil | {Symbol => #to_json}]
  #   when returning:
  #   
  #   -   `nil`: module will successfully exit with no additional changes.
  #       
  #   -   `{Symbol => #to_json}`: Hash will be merged over @facts that
  #       are returned by the module to be set in the Ansible runtime and
  #       the module will exit successfully.
  #       
  def main
    return nil
  end # #main
  
end # {{ role_module_class }}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
qb-0.4.5 roles/qb/role/templates/library/module.rb.j2
qb-0.4.4 roles/qb/role/templates/library/module.rb.j2
qb-0.4.3 roles/qb/role/templates/library/module.rb.j2
qb-0.4.2 roles/qb/role/templates/library/module.rb.j2
qb-0.4.1 roles/qb/role/templates/library/module.rb.j2
qb-0.4.0 roles/qb/role/templates/library/module.rb.j2