Commit Graph

6790 Commits (6afa1da9103a4cfe70dc9c2ede87a2961b22b61b)
 

Author SHA1 Message Date
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
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
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
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
Toshio Kuratomi 8a9405a55b Convert object into dict so it will turn into json properly 9 years ago
James Cammarata bc60c893f5 Prefer non-zero rc's over text analyis in service status checks
Fixes ansible/ansible#10441
9 years ago
Brian Coca 2dd4d9ce37 Merge pull request #1814 from wenottingham/warn-branch
Warn on use of sudo, etc. in shell/command.
9 years ago
Bill Nottingham 69deab1786 Warn on use of sudo, etc. in shell/command. 9 years ago
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
9 years ago
Sudheer Satyanarayana f3a0f0f580 Update mysql_db.py
Mention package installation instructions for CentOS in notes.
9 years ago
Brian Coca da39fd1625 Merge pull request #1804 from saito-hideki/feature/hostname
Add Solaris support in hostname module
9 years ago
saito-hideki e91ad2ab6c Add Solaris support in hostname module
feature_pull_request: #1804
9 years ago
saito-hideki b991a2708b Add Solaris support in hostname module 9 years ago
Brian Coca 481f300836 clarified error messages to actually give back ansible module option instead of internal boto field name 9 years ago
Brian Coca bdb5aa8f88 Merge pull request #1780 from hostmaster/supervisorctl-present-state-fix
Bugfix Pull Request: supervisorctl module: 'present' state is broken
9 years ago
Brian Coca a2b713edad Merge pull request #1790 from renard/allow-star-password-on-openbsd-2015-07-24
[user] Allow '*' as empty password.
9 years ago
Brian Coca 008caa1ff7 Merge pull request #591 from d3rp/wait_for
Fix 'wait_for' doesn't work with ipv6only host
9 years ago
Brian Coca ddadd0e852 Merge pull request #1801 from j-carl/fix-ec2-missing-alias-groups
Fix missing alias "groups".
9 years ago
Jens Carl fd0fc5131c Fix missing alias "groups". 9 years ago
Brian Coca 9b8470ae95 minor doc fixes 9 years ago
Brian Coca c688408385 fixed fragment docs 9 years ago
Brian Coca 76344db61e fixed version added 9 years ago
Brian Coca f1b91a9d31 Merge pull request #1261 from danpilch/devel
Added get_url header support
9 years ago
Feanil Patel 22461e335a If overwrite is set, download eagerly.
If the we are going to overwrite the file anyway,
there is no need to do any checksums locally or
grab the remote etag.
9 years ago
Dan 777d736baa Added header support
Added the ability to pass custom http headers to the fetch_url method.
9 years ago
Brian Coca 0edb7348b8 Merge pull request #1791 from koichirok/fix-freebsd-service-enabled-check
Fix service enabled check failure on FreeBSD
9 years ago
KIKUCHI Koichiro a3b9fb58bf Fix service enabled check failure on FreeBSD 9 years ago
Sébastien Gross 349195e689 [user] Allow '*' as empty password.
If `password` is defined as `*` `useradd` or `usermod` returns an error:

    msg: usermod: Invalid password: `*'

This works very well on Linux host to not define any password for a
user (mainly useful if your setup is only based on SSH keys for
auth). On OpenBSD this does not work, so we have to ignore the encrypted
password parameter if it defined as `*`.
9 years ago
khassen 5f2b365faa Use the common/shared MD5 function. 9 years ago
Brian Coca 03a809a21c added version_added to body_format in uri 9 years ago
fti7 6a872469fc mount: Support for Check-Mode 9 years ago