Commit graph

11528 commits

Author SHA1 Message Date
Rene Moser
57f5e46e99 cloudstack: add new module cs_securitygroup_rule
This module depends on ansible.module_utils.cloudstack.
2016-12-08 11:32:34 -05:00
Rene Moser
15f24f3021 cloudstack: add new module cs_securitygroup
This module depends on ansible.module_utils.cloudstack.
2016-12-08 11:32:34 -05:00
Brian Coca
48e1f1b0bc fixed 2.4 compatibility 2016-12-08 11:32:34 -05:00
Brian Coca
60df464d1a added aliases docs 2016-12-08 11:32:34 -05:00
RJ Nowling
58e681495f Change 'brick' to 'bricks' and add 'brick' as an alias. Add example with multiple bricks. 2016-12-08 11:32:34 -05:00
RJ Nowling
3bd5631fd1 Improve documentation for gluster_volume brick parameter 2016-12-08 11:32:34 -05:00
RJ Nowling
ef3e5bd296 Issue #403: Add support for multiple bricks to gluster_volume 2016-12-08 11:32:34 -05:00
Jonathan Mainguy
af51a50863 Fixes bug where state=absent did not work 2016-12-08 11:32:33 -05:00
Peter Oliver
c8c4305057 Add an accept_licenses option to pkg5 module
This accepts any software licences required by the package.
2016-12-08 11:32:33 -05:00
Niall Donegan
f7d2f76976 Handle missing module with fail_json 2016-12-08 11:32:33 -05:00
Niall Donegan
9d5669e6b3 sys.exit used, but not imported. 2016-12-08 11:32:33 -05:00
Brian Coca
0ed579ddd7 doc update for zypper 2016-12-08 11:32:33 -05:00
Gregory Haynes
960b0f478f Add type property to zypper
To install patterns and other package types a type parameter needs to be
specified to zypper.
2016-12-08 11:32:33 -05:00
Michael Scherer
298e782ff7 Expand user in path, fix #385 2016-12-08 11:32:33 -05:00
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 f8d04bec1b.
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