Chris Church
bad636152a
Add check mode support for Windows modules that don't modify the remote system.
2015-07-31 18:04:34 -04:00
Toshio Kuratomi
549df99c5b
Merge pull request #1842 from amenonsen/repos-urls
...
another solution to apt_repository/repos_urls traceback on Debian (PR #1738 , bug #1684 )
2015-07-30 17:42:40 -07:00
Brian Coca
1268a83eb7
Merge pull request #1782 from civisanalytics/iam_dont_delete_passwords_silently
...
iam: don't delete passwords by default
2015-07-30 19:51:57 -04:00
Brian Coca
1f7686fd31
returned version added
2015-07-30 17:04:41 -04:00
James Cammarata
79f21c6ec9
Fix missing params to download_s3file in s3
2015-07-30 14:49:45 -04:00
Brian Coca
697307f88c
Merge pull request #1670 from mikeputnam/issue-1643-gpl-header
...
Add missing GPLv3 License header
2015-07-30 14:39:44 -04:00
James Cammarata
4c4e978360
Fixing s3 failures when bucket names contain dots
2015-07-30 13:47:01 -04:00
Brian Coca
c6da9d0758
added missing version_Added to extra_hosts
...
fixes #1843
2015-07-30 13:05:00 -04:00
Brian Coca
d6b9989c71
Merge pull request #1820 from jaimegago/patch-1
...
Fix example indentation bug
i seem to have misread the patch, i thought it was doing the contrary of what it was. Sorry, merging it in now.
2015-07-30 09:52:00 -04:00
Pierre-Louis Bonicoli
2fdb197245
fix error occurring with Debian
...
Error was: AttributeError: 'SourcesList' object has no attribute 'repos_urls'
2015-07-30 13:16:56 +05:30
Abhijit Menon-Sen
74a27ffe52
Simplify distribution test
...
If it's Ubuntu, use UbuntuSourcesList; if it's any other apt-friendly
distribution, use SourcesList; otherwise, fail.
2015-07-30 13:16:56 +05:30
Abhijit Menon-Sen
44d16240a8
Make SourcesList __init__ method also set self.module
...
This was originally required to allow other methods in SourcesList to
fail, but subsequent changes rendered that unnecessary, and it's just
a cleanup now, and avoids passing in module separately to save().
2015-07-30 13:11:43 +05:30
Abhijit Menon-Sen
6afa1da910
Clarify HAVE_PYTHON_APT/install_python_apt handling in apt_repository
...
1. Don't test check_mode in both the caller and in the callee.
2. Don't test HAVE_PYTHON_APT inside an if that tests HAVE_PYTHON_APT
3. Don't be irritatingly vague about why the module fails ("You may be
seeing this because…").
Note that if «apt-get -y install python-apt» succeeds with rc==0, but
for some reason python_apt is not usable afterwards, this will break
because the imports in install_python_apt aren't wrapped inside a
try/except.
In other words, we assume that install_python_apt either succeeds or
fails with a traceback. This commit doesn't affect that behaviour.
2015-07-30 13:03:10 +05:30
Abhijit Menon-Sen
653fd34ed7
Fix call to _expand_ppa
2015-07-30 09:02:18 +05:30
Toshio Kuratomi
2785364ebe
Merge pull request #1736 from larsks/bug/docker-version-parse
...
docker: fix parsing of docker __version__ string
2015-07-29 12:36:37 -07:00
Chris Church
4eb547fe4e
Merge pull request #1837 from brannon/patch-1
...
Fix windows feature example to actually install IIS
2015-07-29 15:27:34 -04:00
brannon
4a30e35e53
Fix windows feature example to actually install IIS
2015-07-29 12:23:37 -07:00
Brian Coca
0e9fccd098
changed verbose override variable
2015-07-29 14:54:19 -04:00
Cameron Wood (@cewood)
4241d940b7
Support specifying cidr_ip as a list
...
Update/fix to Support specifying cidr_ip as a list
Unicode isn't compatible with python2, so we needed some other
solution to this problem. The simplest approach is if the ip item
isn't already a list, simply convert it to one, and we're done.
Thanks to @mspiegle for this suggestion.
2015-07-29 19:11:43 +10:00
Brian Coca
49400d90ac
Merge pull request #1830 from ecliptik/devel
...
Fix incorrect var name for api_version
2015-07-28 18:25:20 -04:00
Micheal Waltz
b43f236b05
Fix incorrect var name for api_version
2015-07-28 15:11:33 -07:00
Brian Coca
e16993ae55
Merge pull request #1827 from thyming/fix-ec2-snapshot-error
...
Use msg kwarg to pass error message in ec2_snapshot
2015-07-28 16:30:40 -04:00
Luke Rohde
88a0d79873
Use msg kwarg to pass error message in ec2_snapshot
2015-07-28 16:02:49 -04:00
Brian Coca
c579f53a15
Merge pull request #1818 from j2sol/no_ipv6_update_subnet
...
Handle non-updatable openstack subnet details
2015-07-28 15:00:30 -04:00
Brian Coca
92f32a0253
added version added to headers in s3
2015-07-28 14:50:39 -04:00
Brian Coca
8227b48a6a
minor doc fixes
2015-07-28 14:50:01 -04:00
Brian Coca
4b78b5597f
Merge pull request #160 from acaire/s3-headers
...
S3 headers
2015-07-28 14:48:51 -04:00
Jason DeTiberus
c458b5e96c
python 2.4 syntax fix
2015-07-28 06:30:37 -04:00
Jason DeTiberus
0802102634
Add example for changing consumed subscriptions
2015-07-28 06:26:04 -04:00
Jason DeTiberus
520a125693
bugfixes for redhat_subscription
...
- correctly return pool ids for newer versions of subscription-manager
- allow for managing subscriptions after initial registration.
2015-07-28 06:26:04 -04:00
Jaime Gago
1f62f5f580
Fix example indentation bug
2015-07-27 23:40:49 -07:00
Brian Coca
a46b3a4dc4
Merge pull request #1809 from bngsudheer/patch-1
...
Update mysql_db.py
2015-07-27 22:37:58 -04:00
Brian Coca
cb90735b2a
Merge pull request #1795 from feanil/feanil/s3_overwrite_early
...
If overwrite is set, download eagerly.
2015-07-27 22:34:58 -04:00
Brian Coca
dbdbcb33cc
defined DEFAULT_DOCKER_API_VERSION to avoid it erroring out before we send the message that docker.py is missing
2015-07-27 22:33:15 -04:00
Brian Coca
44d23ababd
Merge pull request #1767 from ecliptik/devel
...
Use proper HostConfig element which contains the proper Memory value …
2015-07-27 18:23:33 -04:00
Brian Coca
d91834bdf5
Merge pull request #1763 from larsks/bug/missing-mem-limit
...
restore mem_limit
2015-07-27 18:22:37 -04:00
Jesse Keating
84dfcf3690
Handle non-updatable openstack subnet details
...
Some things cannot be updated via the API, so check for those and fail
if the user is wanting to update them. Also don't try to update ipv6
stuff, as that doesn't work and will cause a traceback.
2015-07-27 14:54:29 -07:00
Brian Coca
f4a17b3e97
Merge pull request #1802 from bcoca/ec2_fixes
...
ec2 fixes
2015-07-27 15:48:02 -04:00
Toshio Kuratomi
19741d75eb
Fi the local_rsync_path parameter used by the action plugin
2015-07-27 11:35:48 -07:00
Brian Coca
587370e2e7
minor doc fixes to get_url
2015-07-27 14:20:38 -04:00
Toshio Kuratomi
8a9405a55b
Convert object into dict so it will turn into json properly
2015-07-27 11:04:58 -07:00
James Cammarata
bc60c893f5
Prefer non-zero rc's over text analyis in service status checks
...
Fixes ansible/ansible#10441
2015-07-27 12:51:30 -04:00
Brian Coca
2dd4d9ce37
Merge pull request #1814 from wenottingham/warn-branch
...
Warn on use of sudo, etc. in shell/command.
2015-07-27 11:07:31 -04:00
Bill Nottingham
69deab1786
Warn on use of sudo, etc. in shell/command.
2015-07-27 11:02:24 -04:00
James Cammarata
2bfddb015d
In copy, set the mode before running th validation
...
Because some programs that do validation (like visudo) may require
the permissions to be more restricted.
Fixes ansible/ansible#11385
2015-07-26 14:40:22 -04:00
Sudheer Satyanarayana
f3a0f0f580
Update mysql_db.py
...
Mention package installation instructions for CentOS in notes.
2015-07-26 18:08:33 +05:30
Brian Coca
da39fd1625
Merge pull request #1804 from saito-hideki/feature/hostname
...
Add Solaris support in hostname module
2015-07-25 11:13:29 -04:00
saito-hideki
e91ad2ab6c
Add Solaris support in hostname module
...
feature_pull_request: #1804
2015-07-25 23:32:55 +09:00
saito-hideki
b991a2708b
Add Solaris support in hostname module
2015-07-25 21:48:13 +09:00
Brian Coca
481f300836
clarified error messages to actually give back ansible module option instead of internal boto field name
2015-07-24 23:32:41 -04:00