Commit Graph

8068 Commits (806ebef383ae418c47da5349cda15aa1447213bc)
 

Author SHA1 Message Date
Rene Moser 806ebef383 homebrew_cask: fix doc version_added for install_options
See #2086
9 years ago
Tim Rupp c400598332 Reverse the unpack list operation
Instead of doing an unpack, deliberately specify which parameters you
want to use. This allows us to flexibly add more parameters to the
f5_argument_spec without having to rewrite all the modules that use
it.

Functionally this commit changes nothing, it just provides for a
different way of accessing the parameters to the module
9 years ago
Robin Roth bb68df525c refactor zypper module
* refactor zypper module

Cleanup:
* remove mention of old_zypper (no longer supported)
  * requirement goes up to zypper 1.0, SLES 11.0, openSUSE 11.1
  * allows to use newer features (xml output)
  * already done for zypper_repository
* use zypper instead of rpm to get old version information, based on work by @jasonmader
* don't use rpm, zypper can do everything itself
* run zypper only twice, first to determine current state, then to apply changes

New features:
* determine change by parsing zypper xmlout
* determine failure by checking return code
* allow simulataneous installation/removal of packages (using '-' and '+' prefix)
  * allows to swap out alternatives without removing packages depending
    on them
* implement checkmode, using zypper --dry-run
* implement diffmode
* implement 'name=* state=latest' and 'name=* state=latest type=patch'
* add force parameter, handed to zypper to allow downgrade or change of vendor/architecture

Fixes/Replaces:
* fixes #1627, give changed=False on installed patches
* fixes #2094, handling URLs for packages
* fixes #1461, fixes #546, allow state=latest name='*'
* fixes #299, changed=False on second install, actually this was fixed earlier, but it is explicitly tested now
* fixes #1824, add type=application
* fixes #1256, install rpm from path, this is done by passing URLs and paths directly to zypper

* fix typo in package_update_all

* minor fixes

* remove commented code block
* bump version added to 2.2
* deal with zypper return codes 103 and 106
9 years ago
René Moser f2383fe0ac Merge pull request #2086 from indrajitr/homebrew_cask_install_options
Adding install_options to homebrew_cask (see #544)
9 years ago
Rob 47fddc83be Added doc for new get_ec2_security_group_ids_from_names function in m… 9 years ago
Gonçalo Luiz 336d475746 fixed not resolving latest to snapshot for MD5 check when the file ex… 9 years ago
Adrian Likins 9d705a4208 Expect 204 status when using hipchat v2 api.
When posting to the room notication api with hipchat
v2 api, the expected return code is 204, as per:
https://www.hipchat.com/docs/apiv2/method/send_room_notification

fixes #2143
9 years ago
René Moser eab5892944 Merge pull request #1867 from Censio/rhunter-monit-startup
monit startup fix
9 years ago
Toshio Kuratomi 675d778b50 Fix documentation 9 years ago
Michael Scherer 7fd4180857 Fix arguments and docs (#2147)
- oauthkey shouldn't be logged
- action should be restricted and checked and the
doc should correspond to the code
9 years ago
krzwalko 12f1c85aa3 Fix datacenter_name and cluster_name module params (#2142) 9 years ago
Rudi Meyer 28ae506c12 Jira will return a HTTP status code 201 on some actions, fx. 'comment'. (#2115) 9 years ago
Toshio Kuratomi 1846de2809 Switch blockinfile to using the latest best way to get ansible version 9 years ago
René Moser 3a7e4b5834 readme: add build state image from travis 9 years ago
René Moser 2a7063133f Merge pull request #2130 from resmo/fix/azure_rm_deployment
azure_rm_deployment: fix docs and move import utils near main()
9 years ago
Rene Moser 94e6c32608 azure_rm_deployment: fix docs and move import utils near main()
fixes build
9 years ago
René Moser 6049d03d3a Merge pull request #2089 from mscherer/fix_datadog
2 small fixes for datadog
9 years ago
Michael Scherer f7c421088a Use type=path for arguments, and remove code doing the conversion (#1903) 9 years ago
Michael Scherer e07a52b499 Mark api_key as no_log to avoid potential leaks (#2048) 9 years ago
Brian Coca fbd00675f0 updated version added for pvs 9 years ago
James Cammarata 38874103c8 Merge pull request #2109 from Osterjour/patch-1
Change success status code to 202
9 years ago
Matt Davis 238af47a9d Merge pull request #2007 from p53/devel
Added pvs parameter to lvol module
9 years ago
Toshio Kuratomi 71d83b77bc Recategorize git_config and shift version to 2.1 9 years ago
Chris Houseknecht ca310f3d15 Merge pull request #2106 from chouseknecht/azure_rm_deployment
Rename azure_deploy to azure_rm_deployment. Refactor to use azure_com…
9 years ago
Brian Coca 09a1015bd7 updated version added 9 years ago
Matthew d91baee7c9 Add git_config module (#1945)
* Add git_config module

This module can be used for reading and writing git configuration at all
three scopes (local, global and system). It supports --diff and --check
out of the box.

This module is based off of the following gist:
https://gist.github.com/mgedmin/b38c74e2d25cb4f47908
I tidied it up and added support for the following:
- Reading values on top of writing them
- Reading and writing values at any scope
The original author is credited in the documentation for the module.

* Respond to review feedback

- Improve documentation by adding choices for parameters, requirements
  for module, and add missing description for scope parameter.
- Fail gracefully when git is not installed (followed example of puppet
  module).
- Remove trailing whitespace.

* Change repo parameter to type 'path'

This ensures that all paths are automatically expanded appropriately.

* Set locale to C before running commands to ensure consistent error messages

This is important to ensure error message parsing occurs correctly.

* Adjust comment
9 years ago
chouseknecht a1cc951d6f Updated per PR comments 9 years ago
Michael Scherer 95018b5fe8 Add partial doc on return value of virt (#2116) 9 years ago
Matt Davis 0b66156f25 Merge pull request #2112 from jhawkesworth/fix_ame_2090
Fix for https://github.com/ansible/ansible-modules-extras/issues/2090
9 years ago
= d198d025de Fix for https://github.com/ansible/ansible-modules-extras/issues/2090 9 years ago
Matt Davis d9caac037c Merge pull request #1119 from h0nIg/devel_acl_inheritance
win_acl_inheritance
9 years ago
Brian Coca 470460acfc promoted to core, including fixes 9 years ago
James Cammarata 59821bbc30 Removing docker_login as it's now in core 9 years ago
René Moser 344dff4350 docs: fix make docs (#2107) 9 years ago
Markus Ostertag d5ab3dc0f3 Change success status code to 202
As I already mentioned here: a1b1182662 (diff-d04a476e5d71372918cb6e7e5b39a683R120) @jimi-c added some "hidden" additional check in his urllib commit and broke the whole module for everybody as Datadog answers with an 202 in case of success (http://docs.datadoghq.com/api/#troubleshooting).
9 years ago
chouseknecht 99f5e394ad
Rename azure_deploy to azure_rm_deployment. Refactor to use azure_common. 9 years ago
Tim Rupp 86f08bfcda Adds the __main__ conditional check (#2098)
As is done in other ansible modules, this adds the __main__ check
to the module so that the module code itself can be used as a library.
For instance, when testing the code.
9 years ago
Indrajit Raychaudhuri 142742964e Fix homebrew_cask examples 9 years ago
Joshua Gilman e4a4259bc2 Change disk type to str to allow correct usage of rootfs for LXC (#2091) 9 years ago
Rene Moser 3feb69f614 consul: add docs, fix typos, minor style fix 9 years ago
Sun JianKang 08f5a3b6d0 add service address when register service (#1299) 9 years ago
Ner'zhul d3a34c0b2c Add mongodb parameter module (#1596)
* Add mongodb parameter module

This module permit to configure mongodb live parameters to tune the running engine
9 years ago
Adrià Galín Figueras 014297b868 Fixed netif params when create lxc container (#2064) 9 years ago
Toshio Kuratomi d871df6c27 Switch from deprecated ANSIBLE_VERSION to ansible.__version__ 9 years ago
Rene Moser de22b721db vmware_vm_shell: doc: add missing defaults 9 years ago
Ritesh Khadgaray e24c3b93fe vmware_vm_shell: speed up vm_name search (#1909) 9 years ago
Chris Lamb 8d7d070201 system/ufw.py: Add security warning re. removing ufw application prof…
It's not particularly obvious that removing an application will remove it
from ufw's own state, potentially leaving ports open on your box if you
upload your configuration.

Whilst this applies to a lot of things in Ansible, firewall rules might
cross some sort of line that justifies such a warning in his instance.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
9 years ago
= 7d9b73ec5a fix problem where you couldn't compare empty strings in win_regedit following my previous change 9 years ago
Michael Scherer 1b18c74918 Remove unused import of 'socket' module 9 years ago
Michael Scherer ed4dd65057 Mark api_key as no_log, since that's supposed to be kept secret 9 years ago