Class: Ansible::Ruby::Modules::Interfaces_file

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/system/interfaces_file.rb

Overview

Manage (add, remove, change) individual interface options in an interfaces-style file without having to manage the file as a whole with, say, M(template) or M(assemble). Interface has to be presented in a file. Read information about interfaces from interfaces-styled files

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#backup:yes, ...



29
# File 'lib/ansible/ruby/modules/generated/system/interfaces_file.rb', line 29

attribute :backup

#destString?



13
# File 'lib/ansible/ruby/modules/generated/system/interfaces_file.rb', line 13

attribute :dest

#ifaceString?



17
# File 'lib/ansible/ruby/modules/generated/system/interfaces_file.rb', line 17

attribute :iface

#optionString?



21
# File 'lib/ansible/ruby/modules/generated/system/interfaces_file.rb', line 21

attribute :option

#state:present, ...



33
# File 'lib/ansible/ruby/modules/generated/system/interfaces_file.rb', line 33

attribute :state

#valueInteger?



25
# File 'lib/ansible/ruby/modules/generated/system/interfaces_file.rb', line 25

attribute :value