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

Inherits:
Base show all
Includes:
Helpers::FileAttributes
Defined in:
lib/ansible/ruby/modules/generated/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 C(file) module - including M(copy), M(template), and M(assemble). For Windows targets, use the M(win_file) module instead.

Instance Method Summary collapse

Methods included from Helpers::FileAttributes

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

#access_timeString?



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

attribute :access_time

#access_time_formatString?



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

attribute :access_time_format

#follow:yes, ...



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

attribute :follow

#force:yes, ...



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

attribute :force

#modification_timeString?



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

attribute :modification_time

#modification_time_formatString?



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

attribute :modification_time_format

#pathString



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

attribute :path

#recurse:yes, ...



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

attribute :recurse

#srcString?



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

attribute :src

#state:absent, ...



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

attribute :state