Commit Graph

101 Commits (70ae77a365d954ed2cbf08947f165917e9ae1a37)

Author SHA1 Message Date
Toshio Kuratomi ceaaa36f16 Reverse the default value of the bzr module force flags 10 years ago
Brian Coca 2003d79a48 Merge pull request #9 from bwhmather/feature/github_content_type
make it possible to configure the content type of a github webhook
10 years ago
Paul Nicholson 08265de4be Add missing __init__.py files for find_package() to work 10 years ago
Ben Mather 165bf6439f mark all actions as private 10 years ago
Ben Mather 2c79db52bc mark list as private instead of shadowing 10 years ago
Ben Mather f6cd2d931e make it possible to configure the content type of a github webhook 10 years ago
Ben Mather d95d8c9d98 rename list to list_ to avoid shadowing in github_hooks module
The definition was leaking into ansible.module_utils.basic and causing
type checking to fail when running module as script.  Not entirely clear
why this should be the case.
10 years ago
Michael DeHaan b1e789968b File extensions! 10 years ago
Michael DeHaan 50f105578a Restructuring. 10 years ago
Michael DeHaan 73123b69fa Move modules into subdirectory. 10 years ago
James Cammarata 0257cb1201 Allow git repo queries without a clone when update=no
This commit also makes the dest parameter optional, unless update=yes
(the default), since it is not required for queries without an update.

Fixes #8630
10 years ago
Devin Austin 8c72247c1e updated git module documentation
Clarified key_file option for the git module, since it requires the user to specify a private key, not a public key.
10 years ago
Michael DeHaan 1194a4ee11 Documentation simplification for git module parameter 11 years ago
James Cammarata 9acf2454d4 Merge branch 'git_fix' of https://github.com/pkit/ansible into pkit-git_fix 11 years ago
James Cammarata c76535d911 Cleanup subversion module documentation in regards to export 11 years ago
James Cammarata b4911dcc59 Make sure export param for subversion module is checked as a boolean
Fixes #7548
11 years ago
Aleksey Khudyakov ac6792356c Fix typo requird -> required 11 years ago
James Cammarata 31250905e9 Check module_path permissions when creating ssh_wrapper for git
If the module directory is not writable/executable to the current user
(most likely because of a sudo to a non-root user), the ssh_wrapper
will be created in the default location for mkstemp() calls. To facilitate
the deletion of these new files, a new mechanism for cleaning up files
created by the module was also added.

Fixes #7375
11 years ago
Chad Nelson 6aac9538a8 Only update submodules when recursive is true 11 years ago
Constantine Peresypkin 1c6c7716fd fix issue #6932
add `git remote set-url` before fetch to set the remote repo to the new url, if provided
11 years ago
James Cammarata 973b29e624 Fix incorrect version_added value in docstring for subversion export param 11 years ago
James Tanner b65857b4de Addresses #6750 Use --help instead of - 11 years ago
James Tanner a2307bf2fc Fixes #6750 Check git subcommand for --remote and expose errors 11 years ago
Gael Pasgrimaud 9ca9f270d9 Fix a typo in the subversion module documentation 11 years ago
Oleg A. Mamontov 045eba960e Fixed cwd for submodules update 11 years ago
Michael DeHaan 12391a4ba9 Merge branch 'intellectronica/non-recursive-git' of git://github.com/intellectronica/ansible into devel
Conflicts:
	library/source_control/git
11 years ago
addshore 68f12aa995 Add --remote to git submodule_update
This simply adds --remote to the git submodule update command.
This means that if a branch is defined in .gitmodules then we should track said branch when updating.
11 years ago
James Cammarata 98c62f6b1c Merge branch 'subversion_export' of https://github.com/maniaplanet/ansible into maniaplanet-subversion_export 11 years ago
James Tanner 69d40b861f Fixes #6582 Re-add regex to ignore untracked files that were never tracked 11 years ago
James Tanner 6c8980c1a4 Fixes #6567 put the git wrapper script in the module temp dir 11 years ago
andreaskern 2385b28de5 add param to note example for ssh-keyscan
hostnames in the known hosts file are typically stored as Hashed values, calling 'ssh-keyscan' with '-H' changes to output to the Hashed format so that the known_hosts file looks more consistent
11 years ago
patrickheeney 4bc663092f Fix documentation for accept_hostkey 11 years ago
Michael DeHaan 349063743f Some more run_command updates. 11 years ago
Patrick Smith 0f9cb7a24f git: Execute git commands in `dest` directory 11 years ago
James Cammarata c68be8b418 Remove validate_certs parameter from fetch_url calls 11 years ago
James Tanner fc33860e5d Force command action to not be executed by the shell unless specifically enabled 11 years ago
James Cammarata a1b1182662 Validate SSL certs accessed through urllib*
* Adds another module utility file which generalizes the
  access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.

Fixes #6211
11 years ago
Chris Church 0e955832d7 Pass svn arguments as a list of strings instead of using string substition to ensure all parameters are escaped properly. 11 years ago
James Cammarata e67c08b37f Merge branch 'git_version_tags' of https://github.com/j2sol/ansible into j2sol-git_version_tags 11 years ago
James Cammarata a6d92bf4b7 Merge branch 'devel' of https://github.com/calebbrown/ansible into calebbrown-devel 11 years ago
Baptiste Lafontaine d2125192b2 Adding example for svn export 11 years ago
Jesse Keating c6f4d4328b Make sure requested version tag gets downloaded
There is a subtle bug in how the git module currently works. If the
version you request is a tag name, and you've already got the repo
cloned, and the tag name is a new tag, but refers to the already checked
out working copy, the git module would exit early without change. This
is bad as it means the new tag ref was not fetched and could not be used
in later tasks.

This change will check if the version is a remote tag, and if the tag
doesn't exist locally. If that is true, it'll do a fetch.

The activity could still be seen as not a change, because the working
copy won't be updated, if the new tag refers to the already checked out
copy, but that's not different than before and can be fixed as a more
comprehensive overhaul of tracking change in the git module.
11 years ago
Michael Porter 6f685e45dc (#5822) Use `mkstemp` to open a temporary file (as NamedTemporaryFile doesn't take a `delete` argument in Python < 2.6) 11 years ago
James Tanner dc51bb5389 Fixes #5750 Fail on missing ~/.ssh and ignore accept_hostkey if stricthoskeychecking is off 11 years ago
James Tanner 859128da0a Fix git module parameters to conform to code standards 11 years ago
James Tanner 07f9733e96 Fixes #4108 Add sshopts and keyfile parameters to the git module 11 years ago
Caleb Brown d18c27fe76 Fix a bug in "hg" module so that `pull` is not set to a version.
There is a bug in the `hg` module where if a `tag` is used it won't
properly be able to update to it.

This problem is exhibited on repository where a tag is moved from an
older commit to a newer commit.
11 years ago
René Moser 587103e564 subversion: use LANG=C to prevent regex failures
Fixes bug GH-5549.
11 years ago
jctanner a2489ac83c Merge pull request #5141 from kisielk/hg
hg module: Don't modify hgrc when running purge
11 years ago
James Tanner 13ce8728de Set accept_hostkey to False by default in the git module and fail
early if the key is unknown
11 years ago