Class: VagrantSubutai::Models::Ansible

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-subutai/models/ansible.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ansible_playbookObject

Array of JSON objects { “key”: string, “value”: string }



6
7
8
# File 'lib/vagrant-subutai/models/ansible.rb', line 6

def ansible_playbook
  @ansible_playbook
end

#extra_varsObject

Array of JSON objects { “key”: string, “value”: string }



6
7
8
# File 'lib/vagrant-subutai/models/ansible.rb', line 6

def extra_vars
  @extra_vars
end

#groupsObject

Array of JSON objects { “key”: string, “value”: string }



6
7
8
# File 'lib/vagrant-subutai/models/ansible.rb', line 6

def groups
  @groups
end

#source_urlObject

Array of JSON objects { “key”: string, “value”: string }



6
7
8
# File 'lib/vagrant-subutai/models/ansible.rb', line 6

def source_url
  @source_url
end

Instance Method Details

#contextObject



11
12
13
14
15
# File 'lib/vagrant-subutai/models/ansible.rb', line 11

def context
  self.instance_variables.map do |attribute|
    { attribute => self.instance_variable_get(attribute) }
  end
end