Exception: AnsiblePlaybook::AnsiblePlaybookSyntaxError

Inherits:
StandardError
  • Object
show all
Defined in:
modules/ansible/db.rb

Overview

Playbook has wrong syntax Exception

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ AnsiblePlaybookSyntaxError

Returns a new instance of AnsiblePlaybookSyntaxError



172
173
174
175
# File 'modules/ansible/db.rb', line 172

def initialize msg
    super
    @msg = msg
end

Instance Method Details

#messageObject

Returns exception message



177
178
179
# File 'modules/ansible/db.rb', line 177

def message
    @msg
end