Class: VagrantPlugins::AnsibleInventory::Configs::Ansible

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant/ansible_inventory/configs/ansible.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAnsible

Returns a new instance of Ansible.



8
9
10
# File 'lib/vagrant/ansible_inventory/configs/ansible.rb', line 8

def initialize
  @groups = UNSET_VALUE
end

Instance Attribute Details

#groupsObject

Returns the value of attribute groups.



6
7
8
# File 'lib/vagrant/ansible_inventory/configs/ansible.rb', line 6

def groups
  @groups
end

Instance Method Details

#finalize!Object



12
13
14
# File 'lib/vagrant/ansible_inventory/configs/ansible.rb', line 12

def finalize!
  @groups = {} if @groups == UNSET_VALUE
end