Commit graph

1668 commits

Author SHA1 Message Date
Yeukhon Wong
2c72b905a7 Pip's name key can now accept remote package address.
Summary:

Pip module would abort when name is a remote package address because
the module was expecting a version if ``=`` is part of the name value.

Furthermore, the pip module would require either name or requirement to
be a key, although the documentation table said neither was required.
The fact that one of them must be present is not documented in the
documentation leads to confusion. This commit added this fact as part
of description.

In this commit, we resolve the confusion by stating either ``name``
or ``requirement`` is needed. Next, if the user puts remote address
as the value of the ``name`` key, we will not use mirror. Lastly,
if the user uses the remote serivice address as the name of the
package and the user does not supply -e option in extra_vars
(which is the whole point of this commit), we will add -e to
 extra_vars so pip command can run with -e option.
2013-05-09 05:11:02 -04:00
Jan-Piet Mens
ea51e258c4 new module: notification/mqtt for publishing a topic to an MQTT broker
added username/password authentication
2013-05-09 09:38:18 +02:00
madema
54abf22c35 Fixed an error in the get_cpu_facts of the AIX class
assumed proc0 as the first processor but can be different in a LPAR environment
2013-05-08 16:13:13 +03:00
madema
88a4a56889 Added AIX class in the service module to control AIX SRC processes. 2013-05-08 16:10:22 +03:00
Jan-Piet Mens
28395453a8 new module: IRC notification 2013-05-08 13:26:05 +02:00
lonerr
384798145a FreeBSD group operations is now supported properly. 2013-05-08 13:36:55 +04:00
lonerr
2a8ef8a87c Fixed errors in FreeBSD user manipulations. 2013-05-08 13:03:18 +04:00
Brian Coca
d5128ee30e changed lininfile to be safer by writing to temp file and moving into place
instead of writing directly to original
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-05-07 22:08:29 -04:00
Oleg
6735ec6e9d fix for authorized_key: skip chown and chmod if authorized_key_file is link 2013-05-08 01:47:41 +02:00
Alexander Bulimov
6a644714a7 renamed mkfs and moved to system/filesystem 2013-05-06 18:08:38 +04:00
Brian Coca
413fb87113 fixed to send to conference rooms correctly
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-05-05 22:22:07 -04:00
Brian Coca
7d47d80255 new module to do notifications over jabber (xmpp)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-05-05 19:34:06 -04:00
James Martin
0db8879915 Fixed docs. Fixed fallback status method. Fixed "changed" message with cluster commit. 2013-05-05 14:54:23 -04:00
Michael DeHaan
26c6c61d96 Fix error in previous PR. 2013-05-05 14:30:48 -04:00
Michael DeHaan
cf26a425fa Merge pull request #2842 from bcoca/cleanup
generalized cleanup and removed atomic_move return
2013-05-05 11:20:33 -07:00
Brian Coca
d163deaf45 generalized cleanup function, in case modules want to use
removed return code as it doesn't make sense anymore
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-05-05 13:26:29 -04:00
Michael DeHaan
41228dad60 Merge pull request #2835 from b6d/postgres_privs-fix
postgresql_privs: fix wrong codec specification
2013-05-05 09:44:25 -07:00
Michael DeHaan
e0f0278ad8 Move mail into the notification bucket. 2013-05-05 12:42:09 -04:00
Michael DeHaan
25ab6a3ddb Merge pull request #2830 from ralph-tice/devel
amended s3 plugin to support 'dest' parameter
2013-05-05 09:41:08 -07:00
Michael DeHaan
271eb0b45c Merge pull request #2827 from shirou/devel
Add notification/hipchat module.
2013-05-05 09:38:16 -07:00
Michael DeHaan
b6b6f2b17b Merge pull request #2815 from jarv/devel
EC2 ELB management
2013-05-05 09:33:39 -07:00
Michael DeHaan
3802560eaa Merge branch 'devel_apt-cache_valid_time' of git://github.com/gottwald/ansible into devel 2013-05-05 12:28:33 -04:00
Mario Franco
11ad5d2679 Fix tab 2013-05-05 12:25:55 -04:00
Mario Franco
b0331af29b Fix zone 2013-05-05 12:25:55 -04:00
Mario Franco
015117b990 Fix security group id for vpc based on @samukasmk solution 2013-05-05 12:25:55 -04:00
Luciano Cavalheiro da Silva
96d4225245 Fix #2836. Ensure proper handling of option "system=yes" in module "group". 2013-05-04 21:24:02 -03:00
Bernhard Weitzhofer
d0d9ed5b9c postgresql_privs: fix wrong codec specification
Use psycopg2's mapping from PostgreSQL encoding names to Python codec names.
2013-05-03 21:31:20 +02:00
Serge van Ginderachter
e143f86867 fix a bug in apt-repository where 'ppa' is used in a plain http://ppa. .... url 2013-05-03 20:57:55 +02:00
John Jarvis
724c2f2709 Parameter and variable naming issues 2013-05-03 06:55:06 -04:00
John Jarvis
8098b80e2d changing arg name for consistency, absent/present for registration 2013-05-02 21:29:36 -04:00
rektide
351bcf24cf Duplicate pull #2803 in ipv6, fixing setup module's handling of venet & unknown interface types. 2013-05-02 17:19:22 -04:00
Ralph Tice
0866fa5405 amended s3 plugin to support 'dest' parameter to allow uploading to custom location 2013-05-02 14:27:12 -05:00
shirou
5b1adb8460 Add notification/hipchat module.
This module can send a message via hipchat (https://www.hipchat.com/).
2013-05-02 23:23:40 +09:00
Michael DeHaan
b0794ff5f6 Test for the existance of a file that might not be present on older RHEL. 2013-04-30 09:26:25 -04:00
John Jarvis
43910bd290 doc update 2013-04-30 09:03:31 -04:00
John Jarvis
bfc0ea3b0e marking the state changed only when there are ELBs to work on 2013-04-30 09:00:10 -04:00
John Jarvis
434a9d3501 Adding module to de-register/register EC2 instances
This module handles AWS EC2 ELB registration.

* De-registration requires the instance id which can be looked up using
  the ec2_facts module.
* Registration requires both the instance id and the elbs that the
  instance belongs to.

De-registration will return an ec2_elb fact that can be used for
registration in post_tasks.
2013-04-29 23:40:17 -04:00
Michael DeHaan
00b3fd8b45 Merge pull request #2809 from piffey/uri_fix
Fixed bug where if destination was unspecified, changed would not be set...
2013-04-29 17:24:05 -07:00
Michael DeHaan
a715a86cd1 Slight tweak to set_fact variable documentation to clarify scope info. 2013-04-29 19:15:29 -04:00
Piffey Parlance
87b4c0d194 Fixed bug where if destination was unspecified, changed would not be set, resulting in an UnboundLocalError. 2013-04-29 13:59:06 -05:00
James Mills
ced36f3e81 Fixed setup module to accomodate venet interfaces (OpenVZ) 2013-04-29 10:08:24 +10:00
Michael DeHaan
cd97a4cb14 Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
Michael DeHaan
73d2a38e3a Upstart, how do I love thee. Let me count the ways. 0. 2013-04-28 09:29:31 -04:00
Michael DeHaan
ca590b494b Merge pull request #2799 from j2sol/flavor-int
Fix instance idempotence
2013-04-27 15:19:23 -07:00
Jesse Keating
648fd28dce Remove errant debugging code
This should have never made it in.
2013-04-27 15:13:59 -07:00
Jesse Keating
8e158fae89 Make sure we compare flavor IDs as ints
We were comparing an int to a string and getting things wrong, so
idempotence was lost. This forces the comparison to be int.
2013-04-27 15:13:01 -07:00
Ingo Gottwald
cd0db096f1 apt module cache_valid_time documentation fix 2013-04-27 21:23:13 +02:00
Tin Tvrtkovic
4caaf75665 Trivial lineinfile documentation fix. 2013-04-27 18:09:26 +02:00
Brian Coca
21f9f7c6fd Changed atomic_replace to atomic_move, now ti DOES move atomically in the last
step
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-04-27 11:46:08 -04:00
Michael DeHaan
1ff82e88d2 Merge pull request #2758 from lonerr/service
FreeBSD startup scripts (rc) supports optional arguments.
2013-04-27 08:38:53 -07:00