Toshio Kuratomi
1001eae3c8
Set a default value for DEFAULT_DOCKER_API_VERSION so we can create the AnsibleModule without docker-py
9 years ago
Sam Yaple
2c35cfce9a
Revert "escapeds changes"
...
While this change doesn't break the creation, it does break
idempotency. This change will convert '*.*' to '`*`.*' which is
functionally the same, however when the user_mod() function looks up
the current privileges with privileges_get() it will read '*.*'
Since '*.*' != '`*`.*' it will go through the process of updating the
privleges always resulting in a 'changed' result.
This reverts commit db9ab9b262
.
9 years ago
Ted Timmons
40519de8e7
fix ugly documentation
...
current version dumps a character per line in the docs: http://docs.ansible.com/ansible/cloudformation_module.html
9 years ago
Robert Jailall
d10f3f7a7e
Refactor ec2_snapshot to make it more testable
9 years ago
Hagai Kariti
1f447ad5ba
made `wait` default to True in ec2_snapshot
9 years ago
Hagai Kariti
a91db23b56
Add to the ec2_snapshot module the ability to create a snapshot only if one hasn't recently been created
...
- Added snapshot_max_age parameter
- Updated docs
- Made the default value of wait to be false, as it used to be
9 years ago
Toshio Kuratomi
42d3d02855
Merge pull request #51 from cewood/ec2-group/cidr-ip-list
...
Support specifying cidr_ip as a list
9 years ago
Toshio Kuratomi
be468ff9d3
result is now a dict and so needs different access syntax
...
Fixes #1848
9 years ago
Toshio Kuratomi
4928357667
Remove unneeded urllib2 import
9 years ago
Chris Church
bad636152a
Add check mode support for Windows modules that don't modify the remote system.
9 years ago
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 )
9 years ago
Brian Coca
1268a83eb7
Merge pull request #1782 from civisanalytics/iam_dont_delete_passwords_silently
...
iam: don't delete passwords by default
9 years ago
Brian Coca
1f7686fd31
returned version added
9 years ago
James Cammarata
79f21c6ec9
Fix missing params to download_s3file in s3
9 years ago
Brian Coca
697307f88c
Merge pull request #1670 from mikeputnam/issue-1643-gpl-header
...
Add missing GPLv3 License header
9 years ago
James Cammarata
4c4e978360
Fixing s3 failures when bucket names contain dots
9 years ago
Brian Coca
c6da9d0758
added missing version_Added to extra_hosts
...
fixes #1843
9 years ago
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.
9 years ago
Pierre-Louis Bonicoli
2fdb197245
fix error occurring with Debian
...
Error was: AttributeError: 'SourcesList' object has no attribute 'repos_urls'
9 years ago
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.
9 years ago
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().
9 years ago
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.
9 years ago
Abhijit Menon-Sen
653fd34ed7
Fix call to _expand_ppa
9 years ago
Brian Lloyd
fc2a33b966
Windows implementation of lineinfile and related documentation
9 years ago
Toshio Kuratomi
2785364ebe
Merge pull request #1736 from larsks/bug/docker-version-parse
...
docker: fix parsing of docker __version__ string
9 years ago
Chris Church
4eb547fe4e
Merge pull request #1837 from brannon/patch-1
...
Fix windows feature example to actually install IIS
9 years ago
brannon
4a30e35e53
Fix windows feature example to actually install IIS
9 years ago
Brian Coca
0e9fccd098
changed verbose override variable
9 years ago
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.
9 years ago
Brian Coca
49400d90ac
Merge pull request #1830 from ecliptik/devel
...
Fix incorrect var name for api_version
9 years ago
Micheal Waltz
b43f236b05
Fix incorrect var name for api_version
9 years ago
Brian Coca
e16993ae55
Merge pull request #1827 from thyming/fix-ec2-snapshot-error
...
Use msg kwarg to pass error message in ec2_snapshot
9 years ago
Luke Rohde
88a0d79873
Use msg kwarg to pass error message in ec2_snapshot
9 years ago
Brian Coca
c579f53a15
Merge pull request #1818 from j2sol/no_ipv6_update_subnet
...
Handle non-updatable openstack subnet details
9 years ago
Brian Coca
92f32a0253
added version added to headers in s3
9 years ago
Brian Coca
8227b48a6a
minor doc fixes
9 years ago
Brian Coca
4b78b5597f
Merge pull request #160 from acaire/s3-headers
...
S3 headers
9 years ago
Jason DeTiberus
c458b5e96c
python 2.4 syntax fix
9 years ago
Jason DeTiberus
0802102634
Add example for changing consumed subscriptions
9 years ago
Jason DeTiberus
520a125693
bugfixes for redhat_subscription
...
- correctly return pool ids for newer versions of subscription-manager
- allow for managing subscriptions after initial registration.
9 years ago
Jaime Gago
1f62f5f580
Fix example indentation bug
9 years ago
Brian Coca
a46b3a4dc4
Merge pull request #1809 from bngsudheer/patch-1
...
Update mysql_db.py
9 years ago
Brian Coca
cb90735b2a
Merge pull request #1795 from feanil/feanil/s3_overwrite_early
...
If overwrite is set, download eagerly.
9 years ago
Brian Coca
dbdbcb33cc
defined DEFAULT_DOCKER_API_VERSION to avoid it erroring out before we send the message that docker.py is missing
9 years ago
Brian Coca
44d23ababd
Merge pull request #1767 from ecliptik/devel
...
Use proper HostConfig element which contains the proper Memory value …
9 years ago
Brian Coca
d91834bdf5
Merge pull request #1763 from larsks/bug/missing-mem-limit
...
restore mem_limit
9 years ago
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.
9 years ago
Brian Coca
f4a17b3e97
Merge pull request #1802 from bcoca/ec2_fixes
...
ec2 fixes
9 years ago
Toshio Kuratomi
19741d75eb
Fi the local_rsync_path parameter used by the action plugin
9 years ago
Brian Coca
587370e2e7
minor doc fixes to get_url
9 years ago