Class: Ansible::Ruby::Modules::Subversion
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Subversion
- 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
-
#checkout ⇒ :yes, ...
If C(no), do not check out the repository if it does not exist locally.
-
#dest ⇒ String
Absolute path where the repository should be deployed.
-
#executable ⇒ Object?
Path to svn executable to use.
-
#export ⇒ :yes, ...
If C(yes), do export instead of checkout/update.
-
#force ⇒ :yes, ...
If C(yes), modified files will be discarded.
-
#in_place ⇒ :yes, ...
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.
-
#password ⇒ Object?
C(–password) parameter passed to svn.
-
#repo ⇒ String
The subversion URL to the repository.
-
#revision ⇒ String?
Specific revision to checkout.
-
#switch ⇒ :yes, ...
If C(no), do not call svn switch before update.
-
#update ⇒ :yes, ...
If C(no), do not retrieve new revisions from the origin repository.
-
#username ⇒ Object?
C(–username) parameter passed to svn.
Methods inherited from Base
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
#checkout ⇒ :yes, ...
Returns 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 |
#dest ⇒ String
Returns Absolute path where the repository should be deployed.
16 |
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 16 attribute :dest |
#executable ⇒ Object?
Returns 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.
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).
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.
28 |
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 28 attribute :in_place |
#password ⇒ Object?
Returns C(–password) parameter passed to svn.
35 |
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 35 attribute :password |
#repo ⇒ String
Returns The subversion URL to the repository.
12 |
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 12 attribute :repo |
#revision ⇒ String?
Returns 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.
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.
45 |
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 45 attribute :update |
#username ⇒ Object?
Returns C(–username) parameter passed to svn.
32 |
# File 'lib/ansible/ruby/modules/generated/source_control/subversion.rb', line 32 attribute :username |