Commit Graph

2602 Commits (8d3db8037079b4691589d39e57c665dc04ccb69b)

Author SHA1 Message Date
Michael DeHaan 21d4400c96 Misc pep8 fixes 11 years ago
Michael DeHaan aa93ce2dc2 Fix deprecation warnings in the Google modules. 11 years ago
Michael DeHaan 75e0a1c6de Merge pull request #4592 from mscherer/fix_4586
setup module, replace ':' by '_' in interface name, fix #4586
11 years ago
Jimmy Tang 0568abeb14 check for ubuntu distribution first 11 years ago
Michael DeHaan 232eb9f8e6 Merge pull request #4595 from mscherer/fix_4563
fix logic in module host to add aliases even if none exist already, fix #4563
11 years ago
Michael DeHaan b5c34308dd Merge pull request #4594 from mscherer/fix_4587
fix distribution detection in apt_repository module, so it also work on mint as it work on Debian, partially fix #4587
11 years ago
Michael Scherer d5c290b513 fix logic in module host to add aliases even if none exist already, fix #4563
self._has_aliases is used to know if a alias already exist, but
the test we want is to know if we need to add a new alias, which
is stored in self.aliases
11 years ago
Michael Scherer 19bb44288e fix distribution detection in apt_repository module, so it also work
on Mint as it work on Debian, fix #4587.

PPAs are not supported however, since that's a Ubuntu specific feature
and mint is detected as a generic distribution and use a different
codename than the Ubuntu release it is based on, which mean that apt_repository
cannot add detect and add the proper url without a better heuristic.
11 years ago
Michael Scherer fc211ac1a0 setup module, replace ':' by '_' in interface name, fix #4586 11 years ago
James Tanner 3c4dd618e4 Fixes #4454 Make a temporary clean cnf file if unable to parse existing 11 years ago
jctanner 92edf99c80 Merge pull request #4562 from nimbis/devel
Adding aws_access_key and aws_secret_key aliases to ec2_group arguments
11 years ago
Brian Schott bdc8ea828e added aws_access_key and aws_secret_key aliases to ec2_group arguments 11 years ago
jctanner 12eaefb7e6 Merge pull request #4539 from sayap/git-sha1
git: Always return the before/after revisions, even in check mode.
11 years ago
Michael DeHaan 8666f8ea24 Merge pull request #4568 from mmoya/features
Improve change detection in mysql_variables
11 years ago
James Tanner 4f674ec522 Fixes #4554 Enumerate user homedir if not passed as an argument 11 years ago
Maykel Moya b90a250165 Improve change detection in mysql_variables
mysql_variables bindly executes a SET var = value query even when
the variable already has the requested value.

With this patch the query is executed only if the current value is
different to the requested one.
11 years ago
Michael DeHaan 8a516d1479 Various standardization to the proposed gce_storage module to bring things in line with updates to the S3 module.
Some typo fixes.

Further testing required.
11 years ago
Michael DeHaan 4bdf3da25a Merge pull request #4333 from bennojoy/gcs
support for google cloud storage module
11 years ago
Michael DeHaan baa13a5cc7 Merge pull request #4395 from erjohnso/devel
adding Google Compute Engine modules and inventory plugin
11 years ago
Maykel Moya 2592b2c3f9 Do key validation only when key is provided
key_id is optional, the previous code didn't handle the case of key_id
not specified
11 years ago
jctanner 7e8e186b3b Merge pull request #4517 from adfinis-sygroup/devel
Remove keys regardless of the options
11 years ago
jctanner c737f222d5 Merge pull request #4480 from joemaller/absent_path_fix
ignore src when file module state=absent
11 years ago
jctanner 51a1a54bfb Merge pull request #4428 from robparrott/devel
Properly handle DEFAULT section with ConfigParser in ini_file modules
11 years ago
James Tanner 23cbdba65e Fixes #4350 Create homedirectory if create=yes and directory is missing 11 years ago
Michael DeHaan db7e4510f2 Merge pull request #4544 from mmoya/features
apt_key: Validate key_id and accept a leading '0x'
11 years ago
Maykel Moya 1a79d9ae58 apt_key: Validate key_id and accept a leading '0x' 11 years ago
Lorin Hochstein 1c5bdba977 s3: better check for walrus
Check for Walrus endpoint by looking to see if the endpoint is not AWS.

This fixes a bug where the user specifies an AWS endpoint via S3_URL,
but the code interprets it as Walrus and then fails.
11 years ago
James Tanner 807e602228 mysql_db: if connection is a socket, do not specify hostname 11 years ago
James Tanner 84a692bcf7 Fixes #4301 Use module_common functions for mysqldump and return better errors 11 years ago
Yap Sok Ann 8519d586ba git: Don't add --branch while cloning if the version is a SHA-1 hash. 11 years ago
Yap Sok Ann 9f8cdac0aa git: Handle network problem when running `git ls-remote`. 11 years ago
Yap Sok Ann a53e7045a6 git: Always return the before/after revisions, even in check mode.
The return values from check mode and non-check mode should match in all cases,
except when a SHA-1 hash is used as version, as there is no way to check if it
is a valid hash using `git ls-remote`.

Also, to accomodate this change, the force flag for the reset function has been
removed so that we can do the checking in main.
11 years ago
Yap Sok Ann b9558828e8 git: Make function get_remote_head usable when cloning.
This allows the module to return the before/after revisions in all cases.
11 years ago
Yap Sok Ann 2ad4d77c9a git: Remove unnecessary return code checking.
The functions either return rc=0 or call fail_json themselves.
11 years ago
Yap Sok Ann 9af05f4d2f git: Full length SHA-1 in, full length SHA-1 out.
This removes ambiguity at the expense of slight backward incompatibility.
11 years ago
James Tanner 00f3ec645d Fixes #4532 Send easy_install to get_bin_path instead of None 11 years ago
James Tanner 7061c99049 fix indentation in easy_install module docstring 11 years ago
James Cammarata 35284818a9 Handle ssh key files that may only have a type/key specified
If a specified key did not have a comment, it would be ignored as
an invalid key.

Fixes #4513
11 years ago
Stefan Heinemann af704562a9 Set the options of an authorized key comma separated
According to the sshd man page, no spaces are permitted between the
options of an authorized ssh key
11 years ago
Stefan Heinemann 346d46a94c Don't mind the options of a key when removing it
This allows to remove a key without knowing the options in the
authorized_key file
11 years ago
Michael DeHaan e131de4de0 Added "debug: var=variableName" capability. 11 years ago
Michael DeHaan 84ff24d92c Merge pull request #4346 from dmkoch/digitalocean-droplet-options
Add "virtio" and "private_networking" options for DigitalOcean droplets
11 years ago
Michael DeHaan 8349c04d06 Merge pull request #4488 from renanivo/devel
create install_options parameter for homebrew module
11 years ago
jctanner 79071aee79 Merge pull request #4470 from jyap808/patch-1
Assume state='directory' if recurse is set and previous state was 'direc...
11 years ago
Michael DeHaan b8ec300d4c Add note about feature being new in 1.4 11 years ago
Constantine Peresypkin 499a2fe456 add support for disk_config option to cloud/rax module 11 years ago
Michael DeHaan 6ff4806b90 Merge branch 'devel' of git://github.com/shirou/ansible into devel 11 years ago
Pedro Romano e6062db92f Implement a '_get_easy_install' helper function to find the desired
'easy_install' executable, modeled on '_get_pip'
from the 'pip' module to correctly handle all combinations of explicit
executable and virtualenv.
11 years ago
Pedro Romano 307dd77589 Refactor helper function '_get_pip' to handle the cases where an absolute
path explicit executable is passed to the task and to look for an explicit executable
by basename in a virtualenv if that is specified.
11 years ago
Pedro Romano 57a71043a3 New module argument to specify the executable used for running 'pip'. This allows support for system installation of packages on systems with multiple installations of Python. 11 years ago