Class: Ansible::Ruby::Modules::Maven_artifact
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Maven_artifact
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb
Overview
Downloads an artifact from a maven repository given the maven coordinates provided to the module. Can retrieve snapshots or release versions of the artifact and will resolve the latest available version if one is not available.
Instance Method Summary collapse
-
#artifact_id ⇒ String
The maven artifactId coordinate.
-
#classifier ⇒ Object?
The maven classifier coordinate.
-
#dest ⇒ String
The path where the artifact should be written to,If file mode or ownerships are specified and destination path already exists, they affect the downloaded file.
-
#extension ⇒ String?
The maven type/extension coordinate.
-
#group_id ⇒ String
The Maven groupId coordinate.
-
#keep_name ⇒ :yes, ...
If C(yes), the downloaded artifact’s name is preserved, i.e the version number remains part of it.,This option only has effect when C(dest) is a directory and C(version) is set to C(latest).
-
#password ⇒ String?
The password to authenticate with to the Maven Repository.
-
#repository_url ⇒ String?
The URL of the Maven Repository to download from.,Use s3://…
-
#state ⇒ :present, ...
The desired state of the artifact.
-
#timeout ⇒ Integer?
Specifies a timeout in seconds for the connection attempt.
-
#username ⇒ String?
The username to authenticate as to the Maven Repository.
-
#validate_certs ⇒ :yes, ...
If C(no), SSL certificates will not be validated.
-
#verify_checksum ⇒ :never, ...
If C(never), the md5 checksum will never be downloaded and verified.,If C(download), the md5 checksum will be downloaded and verified only after artifact download.
-
#version ⇒ String?
The maven version coordinate.
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
#artifact_id ⇒ String
17 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 17 attribute :artifact_id |
#classifier ⇒ Object?
25 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 25 attribute :classifier |
#dest ⇒ String
44 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 44 attribute :dest |
#extension ⇒ String?
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 28 attribute :extension |
#group_id ⇒ String
13 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 13 attribute :group_id |
#keep_name ⇒ :yes, ...
60 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 60 attribute :keep_name |
#password ⇒ String?
40 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 40 attribute :password |
#repository_url ⇒ String?
32 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 32 attribute :repository_url |
#state ⇒ :present, ...
48 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 48 attribute :state |
#timeout ⇒ Integer?
52 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 52 attribute :timeout |
#username ⇒ String?
36 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 36 attribute :username |
#validate_certs ⇒ :yes, ...
56 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 56 attribute :validate_certs |
#verify_checksum ⇒ :never, ...
64 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 64 attribute :verify_checksum |
#version ⇒ String?
21 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/maven_artifact.rb', line 21 attribute :version |