Commit Graph

25521 Commits (343f906ae10dd2110ed7995658759a1a747eb391)
 

Author SHA1 Message Date
Steve Gargan 4b5e73c11c Initial commit of Ansible support for the Consul clustering framework (http://consul.io). Submission includes support for - creating and registering services and checks - reading, writing and lookup for values in consul's kv store - creating and manipulating sessions for distributed locking on values in the kv - creating and manipulating ACLs for restricting access to the kv store - inventory support that reads the Consul catalog and group nodes according to - datacenters - exposed services - service availability - arbitrary groupings from the kv store
This submission makes extensive use of the python-consul library and this is required
as a dependency and can be installed from pip.

The tests were written to target a vagrant cluster which can be setup by following the
instructions here http://github.com/sgargan/consul-vagrant
8 years ago
Matt Jaynes 6662b9ccef Remove mentions of 'msg' alias 8 years ago
Matt Jaynes 94f581b83a Document 'msg' param and fix examples
The 'msg' alias for 'subject' isn't in the documentation, so adding it.

In the gmail example, it uses both the 'subject' and 'msg' params, but 'msg' is an alias of 'subject', so you are essentially declaring the same param twice. If you use this example, then no subject is sent (I tested with gmail). Documentation example is updated to use 'body' as intended.

Also, updated the simple example to use 'subject' instead of the 'msg' alias since it is more explicit.
8 years ago
Brian Coca 948c05ac5e moved new module to proper subdir fixed doc issues minor code adjustments 8 years ago
Joseph Callen 9da7c44a9b New VMware Module to support adding a datacenter 8 years ago
Doug Luce 9211369389 Add the cronvar module.
This manages environment variables in Vixie crontabs.  It includes
addition/removal/replacement of variables and ordering via the
insertbefore/insertafter parameters.
8 years ago
Rene Moser 955292704b cloudstack: add new module cs_vmsnapshot
This module depends on ansible.module_utils.cloudstack.
8 years ago
Rene Moser 7890c129db cloudstack: add new module cs_affinitygroup
This module depends on ansible.module_utils.cloudstack.
8 years ago
Rene Moser 57f5e46e99 cloudstack: add new module cs_securitygroup_rule
This module depends on ansible.module_utils.cloudstack.
8 years ago
Rene Moser 15f24f3021 cloudstack: add new module cs_securitygroup
This module depends on ansible.module_utils.cloudstack.
8 years ago
Brian Coca 48e1f1b0bc fixed 2.4 compatibility 8 years ago
Brian Coca 60df464d1a added aliases docs 8 years ago
RJ Nowling 58e681495f Change 'brick' to 'bricks' and add 'brick' as an alias. Add example with multiple bricks. 8 years ago
RJ Nowling 3bd5631fd1 Improve documentation for gluster_volume brick parameter 8 years ago
RJ Nowling ef3e5bd296 Issue #403: Add support for multiple bricks to gluster_volume 8 years ago
Jonathan Mainguy af51a50863 Fixes bug where state=absent did not work 8 years ago
Peter Oliver c8c4305057 Add an accept_licenses option to pkg5 module
This accepts any software licences required by the package.
8 years ago
Niall Donegan f7d2f76976 Handle missing module with fail_json 8 years ago
Niall Donegan 9d5669e6b3 sys.exit used, but not imported. 8 years ago
Brian Coca 0ed579ddd7 doc update for zypper 8 years ago
Gregory Haynes 960b0f478f Add type property to zypper
To install patterns and other package types a type parameter needs to be
specified to zypper.
8 years ago
Michael Scherer 298e782ff7 Expand user in path, fix #385 8 years ago
RJ Nowling 0243eec2a6 Make 'module' global. Small whitespace formatting fixes. Closes Issue #397. 8 years ago
Matthew Makai 065b2fe309 updating main for loop based on @abadger code review 8 years ago
Matthew Makai 6db9b2beda fixing typo in documentation 8 years ago
Matthew Makai dbb50a62ef updating twilio module to optionally support MMS 8 years ago
Matthew Makai 9d1a52e902 updating twilio module docs and making it possible to send to a list of phone numbers 8 years ago
Matthew Makai 1ce89d9f17 updating sendgrid module based on code review by @abadger 8 years ago
Matthew Makai cbb5689e91 adding sendgrid module to extras 8 years ago
Rene Moser 8f0a2ce50d cloudstack: rename modules to more meaningful name schema 8 years ago
Jeferson Daniel 2f554518a6 Fixes #335 8 years ago
rhorer 927fb145b3 Update twilio.py module name in Examples 8 years ago
Simon Olofsson 334c26ca53 homebrew: Package name is not required.
e.g. `- homebrew: update_homebrew=yes upgrade_all=yes' is a valid task.
8 years ago
mcameron 664f965c8d Revert "system/lvol: Suppress prompts from lvcreate"
This reverts commit f8d04bec1b.
8 years ago
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"
8 years ago
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.
8 years ago
Brian Coca fd060d453c now also captrure OSErrors on temp file fixes #360 8 years ago
Rob White c9f90a2402 Convert symlinks specified in pvs to actual path 8 years ago
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.
8 years ago
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