Class: Ansible::Ruby::Modules::Subversion
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Subversion
- 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
-
#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.
-
#password ⇒ Object?
–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.
-
#username ⇒ Object?
–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
#dest ⇒ String
Returns Absolute path where the repository should be deployed.
15 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/subversion.rb', line 15 attribute :dest |
#executable ⇒ Object?
Returns 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.
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.
23 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/subversion.rb', line 23 attribute :force |
#password ⇒ Object?
Returns –password parameter passed to svn.
30 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/subversion.rb', line 30 attribute :password |
#repo ⇒ String
Returns The subversion URL to the repository.
11 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/subversion.rb', line 11 attribute :repo |
#revision ⇒ String?
Returns 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.
40 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/subversion.rb', line 40 attribute :switch |
#username ⇒ Object?
Returns –username parameter passed to svn.
27 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/subversion.rb', line 27 attribute :username |