Class: Ansible::Ruby::Modules::Subversion

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/source_control/subversion.rb

Overview

Deploy given repository URL / revision to dest. If dest exists, update to the specified revision, otherwise perform a checkout.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#checkout:yes, ...

Returns If C(no), do not check out the repository if it does not exist locally.

Returns:

  • (:yes, :no, nil)

    If C(no), do not check out the repository if it does not exist locally.



41
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 41

attribute :checkout

#destString

Returns Absolute path where the repository should be deployed.

Returns:

  • (String)

    Absolute path where the repository should be deployed.



16
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 16

attribute :dest

#executableObject?

Returns Path to svn executable to use. If not supplied, the normal mechanism for resolving binary paths will be used.

Returns:

  • (Object, nil)

    Path to svn executable to use. If not supplied, the normal mechanism for resolving binary paths will be used.



38
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 38

attribute :executable

#export:yes, ...

Returns If C(yes), do export instead of checkout/update.

Returns:

  • (:yes, :no, nil)

    If C(yes), do export instead of checkout/update.



49
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 49

attribute :export

#force:yes, ...

Returns If C(yes), modified files will be discarded. If C(no), module will fail if it encounters modified files. Prior to 1.9 the default was C(yes).

Returns:

  • (:yes, :no, nil)

    If C(yes), modified files will be discarded. If C(no), module will fail if it encounters modified files. Prior to 1.9 the default was C(yes).



24
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 24

attribute :force

#in_place:yes, ...

Returns If the directory exists, then the working copy will be checked-out over-the-top using svn checkout –force; if force is specified then existing files with different content are reverted.

Returns:

  • (:yes, :no, nil)

    If the directory exists, then the working copy will be checked-out over-the-top using svn checkout –force; if force is specified then existing files with different content are reverted



28
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 28

attribute :in_place

#passwordObject?

Returns C(–password) parameter passed to svn.

Returns:

  • (Object, nil)

    C(–password) parameter passed to svn.



35
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 35

attribute :password

#repoString

Returns The subversion URL to the repository.

Returns:

  • (String)

    The subversion URL to the repository.



12
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 12

attribute :repo

#revisionString?

Returns Specific revision to checkout.

Returns:

  • (String, nil)

    Specific revision to checkout.



20
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 20

attribute :revision

#switch:yes, ...

Returns If C(no), do not call svn switch before update.

Returns:

  • (:yes, :no, nil)

    If C(no), do not call svn switch before update.



53
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 53

attribute :switch

#update:yes, ...

Returns If C(no), do not retrieve new revisions from the origin repository.

Returns:

  • (:yes, :no, nil)

    If C(no), do not retrieve new revisions from the origin repository.



45
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 45

attribute :update

#usernameObject?

Returns C(–username) parameter passed to svn.

Returns:

  • (Object, nil)

    C(–username) parameter passed to svn.



32
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 32

attribute :username