Class: VagrantSubutai::Models::Ansible
- Inherits:
-
Object
- Object
- VagrantSubutai::Models::Ansible
- Defined in:
- lib/vagrant-subutai/models/ansible.rb
Instance Attribute Summary collapse
-
#ansible_playbook ⇒ Object
Array of JSON objects { “key”: string, “value”: string }.
-
#extra_vars ⇒ Object
Array of JSON objects { “key”: string, “value”: string }.
-
#groups ⇒ Object
Array of JSON objects { “key”: string, “value”: string }.
-
#source_url ⇒ Object
Array of JSON objects { “key”: string, “value”: string }.
Instance Method Summary collapse
Instance Attribute Details
#ansible_playbook ⇒ Object
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_vars ⇒ Object
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 |
#groups ⇒ Object
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_url ⇒ Object
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
#context ⇒ Object
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 |