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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/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, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#destString

Returns Absolute path where the repository should be deployed.

Returns:

  • (String)

    Absolute path where the repository should be deployed.



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

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.



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

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.



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

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 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 yes.



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

attribute :force

#passwordObject?

Returns –password parameter passed to svn.

Returns:

  • (Object, nil)

    –password parameter passed to svn.



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

attribute :password

#repoString

Returns The subversion URL to the repository.

Returns:

  • (String)

    The subversion URL to the repository.



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

attribute :repo

#revisionString?

Returns Specific revision to checkout.

Returns:

  • (String, nil)

    Specific revision to checkout.



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

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.



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

attribute :switch

#usernameObject?

Returns –username parameter passed to svn.

Returns:

  • (Object, nil)

    –username parameter passed to svn.



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

attribute :username