Class: Ansible::Ruby::Modules::Git
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Git
- Defined in:
- lib/ansible/ruby/modules/generated/core/source_control/git.rb
Instance Method Summary collapse
-
#accept_hostkey ⇒ :yes, ...
If C(yes), adds the hostkey for the repo url if not already added.
-
#bare ⇒ :yes, ...
If C(yes), repository will be created as a bare repo, otherwise it will be a standard repo with a workspace.
-
#clone ⇒ :yes, ...
If C(no), do not clone the repository if it does not exist locally.
-
#depth ⇒ Object?
Create a shallow clone with a history truncated to the specified number or revisions.
-
#dest ⇒ String
Absolute path of where the repository should be checked out to.
-
#executable ⇒ Object?
Path to git executable to use.
-
#force ⇒ :yes, ...
If C(yes), any modified files in the working repository will be discarded.
-
#key_file ⇒ Object?
Specify an optional private key file to use for the checkout.
-
#recursive ⇒ :yes, ...
If C(no), repository will be cloned without the –recursive option, skipping sub-modules.
-
#reference ⇒ Object?
Reference repository (see “git clone –reference …”).
-
#refspec ⇒ String?
Add an additional refspec to be fetched.
-
#remote ⇒ String?
Name of the remote.
-
#repo ⇒ String
Git, SSH, or HTTP(S) protocol address of the git repository.
-
#ssh_opts ⇒ Object?
Creates a wrapper script and exports the path as GIT_SSH which git then automatically uses to override ssh arguments.
-
#track_submodules ⇒ :yes, ...
If C(yes), submodules will track the latest commit on their master branch (or other branch specified in .gitmodules).
-
#update ⇒ :yes, ...
If C(no), do not retrieve new revisions from the origin repository.
-
#verify_commit ⇒ :yes, ...
If C(yes), when cloning or checking out a C(version) verify the signature of a GPG signed commit.
-
#version ⇒ String?
What version of the repository to check out.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#accept_hostkey ⇒ :yes, ...
22 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 22 attribute :accept_hostkey |
#bare ⇒ :yes, ...
61 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 61 attribute :bare |
#clone ⇒ :yes, ...
50 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 50 attribute :clone |
#depth ⇒ Object?
47 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 47 attribute :depth |
#dest ⇒ String
14 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 14 attribute :dest |
#executable ⇒ Object?
58 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 58 attribute :executable |
#force ⇒ :yes, ...
43 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 43 attribute :force |
#key_file ⇒ Object?
29 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 29 attribute :key_file |
#recursive ⇒ :yes, ...
65 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 65 attribute :recursive |
#reference ⇒ Object?
32 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 32 attribute :reference |
#refspec ⇒ String?
39 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 39 attribute :refspec |
#remote ⇒ String?
35 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 35 attribute :remote |
#repo ⇒ String
10 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 10 attribute :repo |
#ssh_opts ⇒ Object?
26 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 26 attribute :ssh_opts |
#track_submodules ⇒ :yes, ...
69 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 69 attribute :track_submodules |
#update ⇒ :yes, ...
54 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 54 attribute :update |
#verify_commit ⇒ :yes, ...
73 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 73 attribute :verify_commit |
#version ⇒ String?
18 |
# File 'lib/ansible/ruby/modules/generated/core/source_control/git.rb', line 18 attribute :version |