Brian Coca
cd0a1947c2
Merge pull request #1899 from austinhyde/fix-service-rcconf-newlines
...
Service module incorrectly handles lines not ending in a newline
11 years ago
Brian Coca
7a2687178e
avoid shlex exceptions in rc parsing (happens with multiline entries)
...
fixes #1898
11 years ago
Brian Coca
090926b938
Merge pull request #1906 from mjschultz/patch-1
...
Return an iterable instead of None
11 years ago
Michael J. Schultz
63d7bbea19
Return an iterable instead of None
...
By default `.get()` will return `None` on a key that doesn't exist. This
causes a `TypeError` in the `for` loop a few lines down. This change simply
returns an iterable type to avoid the error.
11 years ago
Brian Coca
0c403781a7
Merge pull request #1905 from evverx/fix-legacy-services-enabled
...
Fix service.enabled on: Debian 8, Ubuntu 15.04
11 years ago
Evgeny Vereshchagin
55e8863cb4
Fix service.enable on: Debian 8, Ubuntu 15.04
...
Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751638
See https://github.com/systemd/systemd/issues/937
11 years ago
Brian Coca
072c4f38ea
Merge pull request #62 from 0x46616c6b/user-add-skeleton-support
...
Add support for skeleton directory (useradd -k) in user module
11 years ago
Brian Coca
d139825169
fixed typo
11 years ago
Brian Coca
afb9b8e2f3
added gpg2 as fallback
...
fixes #1796
11 years ago
Austin Hyde
5c25057868
Always end rc.conf entries with a new line
11 years ago
Brian Coca
7f01246bb5
updated win_file version_added
...
fixes #1893
11 years ago
Toshio Kuratomi
dea5f5d15e
Another way that the serialization of the boto results can fail
11 years ago
Toshio Kuratomi
8412adc4f9
Quote checksum description to fix docs
11 years ago
Toshio Kuratomi
484b2451b4
Merge branch 'pr/141' into devel
11 years ago
muffl0n
4f0cf6d2ca
Allow additional hashing algorithms. Directly use hashlib and check if
...
used algorithm is supported.
11 years ago
sysadmin75
cd8bfc7695
Adds tmp_dest option to get_url module.
...
Addresses the issue in ansible/ansible#9512
11 years ago
Toshio Kuratomi
4c622a0338
Another launchconfig field needs to be explicitly converted for json serialization
...
Fixes #1848
11 years ago
Toshio Kuratomi
34b4d9c8b2
Merge pull request #1882 from sebi-hgdata/sebi/docker_memory_version_check
...
mem_limit client version check
11 years ago
HAMSIK Adam
f4228d81d2
Convert enabled value to boolean to actually work, make sure we can set expiration period to 0(None) to disable it
11 years ago
sebi
599d60efc0
mem_limit client version check
11 years ago
Brian Coca
016b4ede2e
minor doc fix
11 years ago
Toshio Kuratomi
f39e5ffa1d
Modify the default for synchronize's dest_port again
11 years ago
Toshio Kuratomi
ed2d8121b3
Update docs to reflect precedence for synchronize's dest_port param
11 years ago
Toshio Kuratomi
0071fd0bf7
Allow mode as a synchronize parameter (handled in action plugin)
11 years ago
Evan Carter
06e722900e
Adding the ability to associate eips with network interfaces
11 years ago
Chris Church
7adb789870
Merge pull request #1850 from cchurch/windows_check_mode
...
Add check mode support for Windows modules.
11 years ago
Shobhit Srivastava
8ad072c96f
checking remote_group_id while comparing os_security_group_rule
11 years ago
Brian Coca
762e43c50f
Merge pull request #1860 from tedder/patch-1
...
fix ugly documentation
11 years ago
Toshio Kuratomi
1001eae3c8
Set a default value for DEFAULT_DOCKER_API_VERSION so we can create the AnsibleModule without docker-py
11 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 .
11 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
11 years ago
Robert Jailall
d10f3f7a7e
Refactor ec2_snapshot to make it more testable
11 years ago
Hagai Kariti
1f447ad5ba
made `wait` default to True in ec2_snapshot
11 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
11 years ago
Toshio Kuratomi
42d3d02855
Merge pull request #51 from cewood/ec2-group/cidr-ip-list
...
Support specifying cidr_ip as a list
11 years ago
Toshio Kuratomi
be468ff9d3
result is now a dict and so needs different access syntax
...
Fixes #1848
11 years ago
Toshio Kuratomi
4928357667
Remove unneeded urllib2 import
11 years ago
Chris Church
bad636152a
Add check mode support for Windows modules that don't modify the remote system.
11 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 )
11 years ago
Brian Coca
1268a83eb7
Merge pull request #1782 from civisanalytics/iam_dont_delete_passwords_silently
...
iam: don't delete passwords by default
11 years ago
Brian Coca
1f7686fd31
returned version added
11 years ago
James Cammarata
79f21c6ec9
Fix missing params to download_s3file in s3
11 years ago
Brian Coca
697307f88c
Merge pull request #1670 from mikeputnam/issue-1643-gpl-header
...
Add missing GPLv3 License header
11 years ago
James Cammarata
4c4e978360
Fixing s3 failures when bucket names contain dots
11 years ago
Brian Coca
c6da9d0758
added missing version_Added to extra_hosts
...
fixes #1843
11 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.
11 years ago
Pierre-Louis Bonicoli
2fdb197245
fix error occurring with Debian
...
Error was: AttributeError: 'SourcesList' object has no attribute 'repos_urls'
11 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.
11 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().
11 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.
11 years ago