Class: Ansible::Ruby::Modules::Blockinfile

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/files/blockinfile.rb

Overview

This module will insert/update/remove a block of multi-line text surrounded by customizable marker lines.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#backup:yes, ...



39
# File 'lib/ansible/ruby/modules/generated/extras/files/blockinfile.rb', line 39

attribute :backup

#blockString?



23
# File 'lib/ansible/ruby/modules/generated/extras/files/blockinfile.rb', line 23

attribute :block

#create:yes, ...



35
# File 'lib/ansible/ruby/modules/generated/extras/files/blockinfile.rb', line 35

attribute :create

#destString



11
# File 'lib/ansible/ruby/modules/generated/extras/files/blockinfile.rb', line 11

attribute :dest

#follow:yes, ...



43
# File 'lib/ansible/ruby/modules/generated/extras/files/blockinfile.rb', line 43

attribute :follow

#insertafter:EOF, ...



27
# File 'lib/ansible/ruby/modules/generated/extras/files/blockinfile.rb', line 27

attribute :insertafter

#insertbefore:BOF, ...



31
# File 'lib/ansible/ruby/modules/generated/extras/files/blockinfile.rb', line 31

attribute :insertbefore

#markerString?



19
# File 'lib/ansible/ruby/modules/generated/extras/files/blockinfile.rb', line 19

attribute :marker

#state:present, ...



15
# File 'lib/ansible/ruby/modules/generated/extras/files/blockinfile.rb', line 15

attribute :state