Class: Ansible::Ruby::Modules::Win_robocopy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_robocopy
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_robocopy.rb
Overview
Synchronizes the contents of two directories on the remote machine. Under the hood this just calls out to RoboCopy, since that should be available on most modern Windows Systems.
Instance Method Summary collapse
-
#dest ⇒ String
Destination file/directory to sync (Will receive contents of src).
-
#flags ⇒ String?
Directly supply Robocopy flags.
-
#purge ⇒ :yes, ...
Deletes any files/directories found in the destination that do not exist in the source.,Toggles the C(/purge) flag to RoboCopy.
-
#recurse ⇒ :yes, ...
Includes all subdirectories (Toggles the C(/e) flag to RoboCopy).,If C(flags) is set, this will be ignored.
-
#src ⇒ String
Source file/directory to sync.
Methods inherited from Base
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
#dest ⇒ String
17 |
# File 'lib/ansible/ruby/modules/generated/windows/win_robocopy.rb', line 17 attribute :dest |
#flags ⇒ String?
29 |
# File 'lib/ansible/ruby/modules/generated/windows/win_robocopy.rb', line 29 attribute :flags |
#purge ⇒ :yes, ...
25 |
# File 'lib/ansible/ruby/modules/generated/windows/win_robocopy.rb', line 25 attribute :purge |
#recurse ⇒ :yes, ...
21 |
# File 'lib/ansible/ruby/modules/generated/windows/win_robocopy.rb', line 21 attribute :recurse |
#src ⇒ String
13 |
# File 'lib/ansible/ruby/modules/generated/windows/win_robocopy.rb', line 13 attribute :src |