Class: Ansible::Ruby::Modules::File

Inherits:
Base show all
Includes:
MissingFileStuff
Defined in:
lib/ansible/ruby/modules/generated/core/files/file.rb,
lib/ansible/ruby/modules/custom/files/file.rb

Overview

Sets attributes of files, symlinks, and directories, or removes files/symlinks/directories. Many other modules support the same options as the M(file) module - including M(copy), M(template), and M(assemble).

Instance Method Summary collapse

Methods included from MissingFileStuff

included

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

#follow:yes, ...



31
# File 'lib/ansible/ruby/modules/generated/core/files/file.rb', line 31

attribute :follow

#force:yes, ...



27
# File 'lib/ansible/ruby/modules/generated/core/files/file.rb', line 27

attribute :force

#pathObject



11
# File 'lib/ansible/ruby/modules/generated/core/files/file.rb', line 11

attribute :path

#recurse:yes, ...



23
# File 'lib/ansible/ruby/modules/generated/core/files/file.rb', line 23

attribute :recurse

#srcString?



19
# File 'lib/ansible/ruby/modules/generated/core/files/file.rb', line 19

attribute :src

#state:file, ...



15
# File 'lib/ansible/ruby/modules/generated/core/files/file.rb', line 15

attribute :state