Class: Ansible::Ruby::Modules::Synchronize

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

Overview

C(synchronize) is a wrapper around rsync to make common tasks in your playbooks quick and easy. It is run and originates on the local host where Ansible is being run. Of course, you could just use the C(command) action to call rsync yourself, but you also have to add a fair number of boilerplate options and host facts. C(synchronize) is not intended to provide access to the full power of rsync, but does make the most common invocations easier to implement. You ‘still` may need to call rsync directly via C(command) or C(shell) depending on your use case.

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

#archive:yes, ...



28
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 28

attribute :archive

#checksum:yes, ...



32
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 32

attribute :checksum

#compress:yes, ...



36
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 36

attribute :compress


60
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 60

attribute :copy_links

#delete:yes, ...



44
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 44

attribute :delete

#destString



16
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 16

attribute :dest

#dest_portArray<String>, ...



20
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 20

attribute :dest_port

#dirs:yes, ...



48
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 48

attribute :dirs

#existing_only:yes, ...



40
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 40

attribute :existing_only

#groupSymbol?



76
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 76

attribute :group


111
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 111

attribute :link_dest


56
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 56

attribute :links

#mode:pull, ...



24
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 24

attribute :mode

#ownerSymbol?



72
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 72

attribute :owner

#partial:yes, ...



100
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 100

attribute :partial

#permsSymbol?



64
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 64

attribute :perms

#private_keyObject?



108
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 108

attribute :private_key

#recursiveSymbol?



52
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 52

attribute :recursive

#rsync_optsArray<String>, ...



96
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 96

attribute :rsync_opts

#rsync_pathString?



80
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 80

attribute :rsync_path

#rsync_timeoutInteger?



84
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 84

attribute :rsync_timeout

#set_remote_userBoolean?



88
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 88

attribute :set_remote_user

#srcString



12
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 12

attribute :src

#timesSymbol?



68
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 68

attribute :times

#use_ssh_args:yes, ...



92
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 92

attribute :use_ssh_args

#verify_host:yes, ...



104
# File 'lib/ansible/ruby/modules/generated/files/synchronize.rb', line 104

attribute :verify_host