Commit Graph

24882 Commits (4f0e1c850c4c6cca4324d24b9ce474038a09baf4)
 

Author SHA1 Message Date
Robin Roth 4f0e1c850c fixed tab/space mix 8 years ago
Robin Roth 32310a43ae fix local change 8 years ago
Robin Roth e33875e382 Allow multiple versions in rpm state
Fix bug in ansible get_package_state and get_current_version that breaks when there are multiple versions of a package installed and there is a list of packages to install.
The previous implementation used 'zip' to match requested names to installed names which fails, because rpm outputs multiple lines per package when there are multiple versions.

Testcase: Install opensuse, install multiple kernel versions (happens by update)
Before patch: calling
zypper: state=present for name={{item}}
with_items:
  - kernel-desktop
  - git

leads to ansible aborting.
After the patch ansible performs as expected and makes sure both packages are present.
Also the last version number is used for further update information in this version (before if only one package name was given the oldest version number was used).
8 years ago
Sébastien Gross 47def27127 Update documentation for src parameter. 8 years ago
Sébastien Gross 5f6121856f Make sure the absolute patch file is passed to the patch command.
According the patch(1) manpage:
The --directory option change to the directory dir immediately, before
doing anything else.

Thus if file is not relative to dir and making file absolute ensure that
patch will find it.
8 years ago
Sébastien Gross 4e24d2cdf7 Make sure patch command is found on remote system. 8 years ago
Brian Coca bd0c787c37 glusterbin needs to be global 8 years ago
Matthew Vernon dd9d5cc670 Fix for issue #353 (handle change in ssh-keygen behaviour)
Prior to openssh 6.4, ssh-keygen -F returned 0 (and no output) when no
host was found. After then, it instead returned 1 and no output. This
revised code behaves correctly with either behaviour. There is
currently no other code path that results in exit(1) and no output.
8 years ago
Brian Coca b90f97442d vertica doc fixes 8 years ago
Brian Coca 346e34ac79 fixed doc issues with cloudstack_fw 8 years ago
Brian Coca 312814c51b fixed doc issues on zabbix_screen 8 years ago
Rene Moser 71a7df8f12 cloudstack_sshkey: cleanup docs 8 years ago
Rene Moser d4333080c4 cloudstack_ssh: replace ssh public key if fingerprints do not match 8 years ago
Rene Moser 4c35f75597 cloudstack_ssh: update description 8 years ago
Rene Moser 06cfffa35c cloudstack_ssh: register_ssh_key() set public_key as param 8 years ago
Rene Moser 1d0ce5c5ea cloudstack_ssh: fix missing projectid if state=absent 8 years ago
Rene Moser 742d581261 cloudstack: add new module cloudstack_sshkey
This module depends on ansible.module_utils.cloudstack.
8 years ago
Rene Moser a01cb6464e cloudstack: add new module cloudstack_iso 8 years ago
Rene Moser c12f841938 cloudstack: add new module cloudstack_fw 8 years ago
Brian Coca 8197922937 fixed missing parens 8 years ago
Brian Coca 0a30663a1e minor fix to method of finding home as previous could 'overmatch' 8 years ago
Brian Coca bb418095a3 minor fixes to gluster: - removed functions from main scope - renamed rebalance function to disambiguate from variable - updated docs with defaults - added exception handling to command execution 8 years ago
Kevin Carter 2ff3a8d35f Updated lxc_container module to fix option parsing
The option parsing object within the module was performing a split
on an '=' sign and assuming that there would only ever be one '='
in a user provided option. Sadly, the assumption is incorrect and
the list comprehension that is building the options list needs to
be set to split on the first occurrence of an '=' sign in a given
option string. This commit adds the required change to make it
possible for options to contain additional '=' signs and be handled
correctly.
8 years ago
Tyler Kellen 12b2cab5ba correct version_added for known_hosts
It was added in 1.9, not 1.6.
8 years ago
Brian Coca 8d086a2444 removed requirements which was causing crash with dupe from shared doc fragments 8 years ago
Brian Coca caeeacd4f4 minor documentation fixes 8 years ago
Cove Schneider 0456685726 add zabbix_screen 8 years ago
Cove Schneider 0a2334069d add zabbix_hostmacro 8 years ago
Cove Schneider a138a5dcf4 add zabbix_host 8 years ago
Toshio Kuratomi f68bba7b1a Port is an integer so use arg_spec to enforce that. 8 years ago
Toshio Kuratomi 77041aec47 remove non-ascii quotes from message string
Fixes https://github.com/ansible/ansible/pull/8564
8 years ago
Jesse Keating dce3597782 Add enabled/disabled support to bigip_node
This allows one to enable or disable a node, useful for when doing
maintenance on a node to prevent connections from being attempted to it.

This will completely disable the node for any pool it might be in.
8 years ago
Brian Coca d32dca116b moved cloudtrail to amazon subdir 8 years ago
tedder 20e0afcac8 Handful of changes after bcoca's code review:
* update expected inclusion version
* fix consistency on enabled/absent (now enabled/disabled)
* safely import boto per now style of single-exit and proper JSON
* use new `required_together` module style
8 years ago
tedder bb1bc0fe4f add cloudtrail module
Cloudtrail is the AWS auditing configuration. It's fairly simple, but also very important to configuration management/devops/security to ensure it remains enabled. That's why I created it as a module.
8 years ago
Brian Coca c04e95865a remove x bit 8 years ago
Brian Coca bed45f3ce9 moved to 8 years ago
chris.schmidt b2247e378b Added check for "latest" in version field 8 years ago
chris.schmidt e7c39a30ca Removed version check from main as it is checked in the download function. Having the check here was breaking "latest version" functionality. 8 years ago
Chris Schmidt 4c71598049 Fixed bug where passing a directory as dest failed 8 years ago
Chris Schmidt 7b46f1215d Changed "target" to "dest" 8 years ago
Chris Schmidt 469e874697 Renamd Module File 8 years ago
Chris Schmidt 73d34220dd Renamted module from download_artifact to maven_artifact 8 years ago
Chris Schmidt 15ac6aa0ea Updated w/ license
Added license
Added TODO for a “latest” state
Removed pending “latest” state work
8 years ago
Chris Schmidt d219e6573f Added the download_artifact module
The download_artifact module resolves a maven dependency coordinate and
downloads the artifact to the target path
8 years ago
David Wittman ef0f852041 Fix multiple issues with alternatives module
- Changes are no longer erroneously reported on RHEL (#12)
 - Adding new link groups on Debian works again.
   - This was broken in a previous commit by assuming the OS was RHEL
     if `update-alternatives --query <name>` had a return code of 2
 - Prefer `--display` over `--query` for determining available
   alternatives
   - --display is more distro-agnostic and simplifies the code
 - Fix missing `msg=` in `fail_json` call when `link` is missing
 - Document that `link` is required on RHEL-based distros

Tested on Ubuntu 12.04+ and CentOS 6/7
8 years ago
Sebastian Gumprich 906cca041b Added documentation and example for port ranges.
Also added punctuation marks.
8 years ago
Julien Pepy 97ed348e17 Clean options building in Composer module 8 years ago
Brian Coca 9fd9f3766e updated pushover version added 8 years ago
Jim Richardson 5edd0274de clarification of error and success messages 8 years ago