Commit graph

5593 commits

Author SHA1 Message Date
Jeroen Thora
4513d3d29e Small typo fix 2014-12-11 20:30:00 +01:00
Brian Coca
b8071a8d5e Merge pull request #141 from bcoca/haproxy_cleanup
minor cleanup
2014-12-09 12:35:25 -05:00
Brian Coca
9f88bdb7f5 moved version added 2014-12-09 12:29:28 -05:00
Stein Inge Morisbak
c4af7a1324 Removed import of json. It is already imported in the common module. 2014-12-09 15:38:55 +01:00
Brian Coca
a97d1016dc minor cleanup, removing unused/redundant code, cleaned some comments, slight reformating in class to
remove kwargs
2014-12-09 09:06:04 -05:00
Brian Coca
82aaaa4152 Merge pull request #23 from ravibhure/devel
Added module haproxy, to handle enable/disable backend server with shutdown_sessions feature in haproxy.
2014-12-09 08:51:07 -05:00
Stein Inge Morisbak
5a2b80ccaa Fall back to simplejson if ImportError on json 2014-12-09 13:14:50 +01:00
Michael DeHaan
3fa7806ae5 Merge pull request #134 from bcoca/chocolatey_minor_fix
changed to use ansible standard 'name' instead of 'package'
2014-12-08 14:33:40 -08:00
Michael DeHaan
5da1984484 Merge pull request #135 from bcoca/snmp_facts_docfix
minor doc tweaks to snmp_facts
2014-12-08 14:33:15 -08:00
Ravi Bhure
d4a096f7ff Recorded the changes suggested by brian coca 2014-12-07 02:29:16 -07:00
Brian Coca
6725d5188d revamp of gluster volume management
also implemented deleting a volume
2014-12-06 19:08:07 -05:00
Brian Coca
b5a0d10925 changed to use ansible standard 'name' instead of 'package' 2014-12-06 19:04:19 -05:00
Brian Coca
cf215dbac4 minor doc tweaks to snmp_facts 2014-12-06 18:58:23 -05:00
Ravi Bhure
44b2cdb5f2 used ansible conventions to use trigered action ==> state,
now only two states are available enabled/disabled_
get weight for backend server, is default behavior for both state,
supports set weight while enable server in lb pool
2014-12-05 11:44:43 -07:00
nmeum
926194f75d Make sure portage doesn't ask for confirmation
If EMERGE_DEFAULT_OPTS in make.conf(5) contains '--ask' then the portage
module doesn't work correctly, this commit fixes that
2014-12-04 12:21:15 +01:00
Robin Roth
7948b91bad fix local change 2014-12-04 11:28:18 +01:00
Robin Roth
76142ddb97 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).
2014-12-04 11:25:06 +01:00
Toshio Kuratomi
19e688b017 Fixes to documentation 2014-12-03 08:16:11 -08:00
Ravi Bhure
bcbe945a41 Instead of action [enable_server,disable_server] we prefer to use state [enabled,disabled] [FIXED]
misplaced the checkmode support (#L146) [FIXED]
no need to check if host is not set as the argument spec (#L138), it should already complain about that [FIXED]
2014-12-03 08:14:35 -07:00
Kevin Carter
99359fc4e2 Updated volume create methods for a more consistent process
The volume create methods were making an assumption on the unit
sizes being presented by the `vgdisplay` and the `lvdisplay`
commands. To correct the assumption the commands will now enforce
a unit size of "g" which will alway convert sives to gigabytes.
This was an issue brought up by @hughsaunders.
2014-12-02 08:18:00 -06:00
Ravi Bhure
78365ecf06 updated version 1.9 and
moved haproxy module to network category
2014-12-01 19:20:53 -07:00
Ravi Bhure
12ef9aaae0 Merge branch 'devel' of github.com:ansible/ansible-modules-extras into devel 2014-12-01 19:14:38 -07:00
Brian Coca
68bd8a55ae Merge pull request #99 from ogenstad/devel
Snmp module for Ansible
2014-12-01 13:59:48 -05:00
Michael Scherer
62cae242cf Add a new option immediate= to immediately apply a permanent change
Currently, either you apply the change in the configuration
of firewalld ( without permanent=True ), or you apply it live.
I most of the time want to do the 2 at the same time, ie open the
port ( so I can use the service ) and make sure it stay open on reboot.
2014-12-01 19:51:11 +01:00
ogenstad
24822322d4 1.9 2014-12-01 19:39:49 +01:00
ogenstad
d4069bbc71 added_version -> 1.9 and file move 2014-12-01 19:34:39 +01:00
Brian Coca
e8c316c08a Merge pull request #105 from nate-kingsley/devel
Adding Uptime Robot Module
2014-12-01 11:51:37 -05:00
Brian Coca
9e798ec6bc Merge pull request #48 from rosmo/glusterfs-module
Added GlusterFS module.
2014-12-01 11:50:06 -05:00
Brian Coca
12e419bb4b Merge pull request #37 from petemounce/chocolatey
win_chocolatey: Windows package management with Chocolatey
2014-12-01 11:49:17 -05:00
Brian Coca
dda4fcb1a1 Merge pull request #38 from petemounce/windows_updates
win_updates: Add module to install windows updates
2014-12-01 11:48:38 -05:00
Brian Coca
9d8a6f97e5 Merge pull request #25 from DJMuggs/dnf
Created dnf package manager module, based on the yum package manager module
2014-12-01 11:46:39 -05:00
Brian Coca
6d18b9941e Merge pull request #15 from bekimb/devel
pvs args shall be submitted as a list
2014-12-01 11:43:42 -05:00
Brian Coca
2003d79a48 Merge pull request #9 from bwhmather/feature/github_content_type
make it possible to configure the content type of a github webhook
2014-12-01 11:42:48 -05:00
Brian Coca
52f526c360 Merge pull request #17 from abompard/devel
Module alternatives: support RedHat-based OSes
2014-12-01 11:35:32 -05:00
Brian Coca
9b19e5a0b4 Merge pull request #14 from mwarkentin/bower-module
Add bower module
2014-12-01 11:34:53 -05:00
Brian Coca
cbfabba9e3 Merge pull request #7 from groks/crypttab-module
New crypttab module for editing Linux /etc/crypttab file
2014-12-01 11:33:45 -05:00
Brian Coca
c9dadee7a7 Merge pull request #6 from resmo/feature/zabbix_group
zabbix_group: new module
2014-12-01 11:33:19 -05:00
Balazs Pocze
0957768755 gtid_replication parameter added to keep this module working in
environments which are using GTID replication
2014-12-01 15:16:40 +01:00
Kevin Carter
4446e4642e Added new module to support LXC containers
The new module will allow users to control LXC containers from ansible.
The module was built for use in LXC >= 1.0 or greater and implements most
of what can be done using the various lxc clients with regards to running
containers. This first module is geared only at managing lxc containers.

The module provides:
  build containers
  destroy containers
  archive containers
  info from a single container
  start / stop / restart containers
  run commands within containers
  add/modify lxc config for a container
  supports backends including LVM
2014-11-27 10:47:33 -06:00
Alexander Gubin
20ef2696bc Fix lvol: Find LVM commands in PATH env 2014-11-26 11:27:29 +01:00
Toshio Kuratomi
317654dba5 Use the python db api to quote mysql values 2014-11-25 01:34:25 -08:00
Brian Coca
e64751b0eb Merge pull request #53 from bcoca/getent_doc_fixes
corrected and made better docs for getent
2014-11-20 15:49:33 -05:00
Sebastian Gumprich
040135dbba Added documentation and example for port ranges.
Also added punctuation marks.
2014-11-20 20:48:41 +00:00
Toshio Kuratomi
4b1184e3a1 Merge pull request #112 from josephtate/devel
Importing urllib so that the grove module can use it standalone.
2014-11-19 08:43:52 -08:00
Brian Coca
e34f62bb1f Merge pull request #101 from tobz-nz/patch-1
Update the webhook url for slack
2014-11-18 15:51:15 -05:00
Joseph Tate
b17a2598f8 Actually what we need is to import the urls utils 2014-11-18 03:41:57 -05:00
Joseph Tate
fb9f1cfaf3 If you're going to use urllib, you'd better import it 2014-11-18 02:59:18 -05:00
Brian Coca
b54920ea8f Merge pull request #106 from mwarkentin/patch-1
Fix typo: `authenicate` -> `authenticate`
2014-11-11 12:24:02 -05:00
Michael Warkentin
691e424587 Fix typo: authenicate -> authenticate 2014-11-11 12:16:00 -05:00
nate-kingsley
d7183a3b67 Adding Uptime Robot Module
Added uptime robot module. This currently has the ability to start or
pause existing monitors. The ability to create or delete is forthcoming.
2014-11-11 10:48:29 -05:00