Commit Graph

25299 Commits (5f57ffcbbae0ea021241c0c71f6f25e59327002f)

Author SHA1 Message Date
RJ Nowling 0243eec2a6 Make 'module' global. Small whitespace formatting fixes. Closes Issue #397. 2016-12-08 11:32:33 -05:00
Matthew Makai 065b2fe309 updating main for loop based on @abadger code review 2016-12-08 11:32:33 -05:00
Matthew Makai 6db9b2beda fixing typo in documentation 2016-12-08 11:32:33 -05:00
Matthew Makai dbb50a62ef updating twilio module to optionally support MMS 2016-12-08 11:32:33 -05:00
Matthew Makai 9d1a52e902 updating twilio module docs and making it possible to send to a list of phone numbers 2016-12-08 11:32:33 -05:00
Matthew Makai 1ce89d9f17 updating sendgrid module based on code review by @abadger 2016-12-08 11:32:33 -05:00
Matthew Makai cbb5689e91 adding sendgrid module to extras 2016-12-08 11:32:33 -05:00
Rene Moser 8f0a2ce50d cloudstack: rename modules to more meaningful name schema 2016-12-08 11:32:33 -05:00
Jeferson Daniel 2f554518a6 Fixes #335 2016-12-08 11:32:33 -05:00
rhorer 927fb145b3 Update twilio.py module name in Examples 2016-12-08 11:32:32 -05:00
Simon Olofsson 334c26ca53 homebrew: Package name is not required.
e.g. `- homebrew: update_homebrew=yes upgrade_all=yes' is a valid task.
2016-12-08 11:32:32 -05:00
mcameron 664f965c8d Revert "system/lvol: Suppress prompts from lvcreate"
This reverts commit f8d04bec1bbdfb0e61e6d3255b16b5bfe23b42f1.
2016-12-08 11:32:32 -05:00
Sébastien Gross 95031a8bea Merge wrapped lines.
Some devices return their description on multiple lines such as:

    lldp.eth0.chassis.descr=cisco CISCO7609-S running on
    Cisco IOS Software, c7600s72033_rp Software (c7600s72033_rp-IPSERVICESK9-M), Version 12.2(33)SRE3, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2011 by Cisco Systems, Inc.
    Compiled Wed 26-Jan-11 06:54 by prod_rel_team

The generated fact will result as:

    "descr": "cisco CISCO7609-S running on"

This patch fixes the line wrapping to return the full description
handling line breaks:

    "descr": "cisco CISCO7609-S running on\nCisco IOS Software, c7600s72033_rp Software (c7600s72033_rp-IPSERVICESK9-M), Version 12.2(33)SRE3, RELEASE SOFTWARE (fc1)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2011 by Cisco Systems, Inc.\nCompiled Wed 26-Jan-11 06:54 by prod_rel_team"
2016-12-08 11:32:32 -05:00
Andy Hill d72734ed47 bigip_facts: Add missing "device" option
The device option was already implemented but omitted from docs and allowed
choices. With the addition of device, a devices failover_state can be
determined.
2016-12-08 11:32:32 -05:00
Brian Coca fd060d453c now also captrure OSErrors on temp file fixes #360 2016-12-08 11:32:32 -05:00
Rob White c9f90a2402 Convert symlinks specified in pvs to actual path 2016-12-08 11:32:32 -05:00
Yuri Kunde Schlesner c3940f16eb crypttab: Fix parameter checking with state=absent
Only the `name` parameter is required when removing an entry, but the module tried to ensure at least one other parameter was set.
2016-12-08 11:32:32 -05:00
Robin Roth 4f0e1c850c fixed tab/space mix 2016-12-08 11:32:32 -05:00
Robin Roth 32310a43ae fix local change 2016-12-08 11:32:32 -05:00
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).
2016-12-08 11:32:32 -05:00
Sébastien Gross 47def27127 Update documentation for src parameter. 2016-12-08 11:32:32 -05:00
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.
2016-12-08 11:32:32 -05:00
Sébastien Gross 4e24d2cdf7 Make sure patch command is found on remote system. 2016-12-08 11:32:32 -05:00
Brian Coca bd0c787c37 glusterbin needs to be global 2016-12-08 11:32:32 -05:00
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.
2016-12-08 11:32:32 -05:00
Brian Coca b90f97442d vertica doc fixes 2016-12-08 11:32:31 -05:00
Brian Coca 346e34ac79 fixed doc issues with cloudstack_fw 2016-12-08 11:32:31 -05:00
Brian Coca 312814c51b fixed doc issues on zabbix_screen 2016-12-08 11:32:31 -05:00
Rene Moser 71a7df8f12 cloudstack_sshkey: cleanup docs 2016-12-08 11:32:31 -05:00
Rene Moser d4333080c4 cloudstack_ssh: replace ssh public key if fingerprints do not match 2016-12-08 11:32:31 -05:00
Rene Moser 4c35f75597 cloudstack_ssh: update description 2016-12-08 11:32:31 -05:00
Rene Moser 06cfffa35c cloudstack_ssh: register_ssh_key() set public_key as param 2016-12-08 11:32:31 -05:00
Rene Moser 1d0ce5c5ea cloudstack_ssh: fix missing projectid if state=absent 2016-12-08 11:32:31 -05:00
Rene Moser 742d581261 cloudstack: add new module cloudstack_sshkey
This module depends on ansible.module_utils.cloudstack.
2016-12-08 11:32:31 -05:00
Rene Moser a01cb6464e cloudstack: add new module cloudstack_iso 2016-12-08 11:32:31 -05:00
Rene Moser c12f841938 cloudstack: add new module cloudstack_fw 2016-12-08 11:32:31 -05:00
Brian Coca 8197922937 fixed missing parens 2016-12-08 11:32:31 -05:00
Brian Coca 0a30663a1e minor fix to method of finding home as previous could 'overmatch' 2016-12-08 11:32:31 -05:00
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 2016-12-08 11:32:31 -05:00
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.
2016-12-08 11:32:31 -05:00
Tyler Kellen 12b2cab5ba correct version_added for known_hosts
It was added in 1.9, not 1.6.
2016-12-08 11:32:31 -05:00
Brian Coca 8d086a2444 removed requirements which was causing crash with dupe from shared doc fragments 2016-12-08 11:32:30 -05:00
Brian Coca caeeacd4f4 minor documentation fixes 2016-12-08 11:32:30 -05:00
Cove Schneider 0456685726 add zabbix_screen 2016-12-08 11:32:30 -05:00
Cove Schneider 0a2334069d add zabbix_hostmacro 2016-12-08 11:32:30 -05:00
Cove Schneider a138a5dcf4 add zabbix_host 2016-12-08 11:32:30 -05:00
Toshio Kuratomi f68bba7b1a Port is an integer so use arg_spec to enforce that. 2016-12-08 11:32:30 -05:00
Toshio Kuratomi 77041aec47 remove non-ascii quotes from message string
Fixes https://github.com/ansible/ansible/pull/8564
2016-12-08 11:32:30 -05:00
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.
2016-12-08 11:32:30 -05:00
Brian Coca d32dca116b moved cloudtrail to amazon subdir 2016-12-08 11:32:30 -05:00