Commit graph

1833 commits

Author SHA1 Message Date
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
Michael DeHaan
e85570e290 Merge branch 'testing_427' into devel 2013-04-27 11:35:56 -04:00
Michael DeHaan
a26f462e79 Merge branch 'yum-module' of git://github.com/Tinche/ansible into testing_427 2013-04-27 11:34:58 -04:00
Michael DeHaan
11d1c0b414 Merge branch 'testing_427' into devel 2013-04-27 11:28:46 -04:00
Michael DeHaan
8f4b7c43a5 Add virt guest creation to virt module docs 2013-04-27 11:20:35 -04:00
Michael DeHaan
c3cf446a8a Merge pull request #2702 from DazWorrall/devel
Add define command to virt module
2013-04-27 08:15:48 -07:00
Dag Wieers
721a662c28 Implement python-dmidecode/dmidecode as alternative for kernel DMI
This implementation falls back to python-dmidecode (RHEL5.5+) if the kernel as no DMI support. Alternatively, if python-dmidecode is missing, we attempt to use the dmidecode binary (for RHEL5.4 and older) before giving up.

This fixes #376 and #1657 and also helps @lwade on RHEL5.5+.
2013-04-27 11:14:14 -04:00
Michael DeHaan
1a2533d46f Merge branch 'setup-dmidecode' of git://github.com/dagwieers/ansible into testing_427 2013-04-27 11:09:32 -04:00
Matt Coddington
fbed4431e8 doc typo fix in copy module 2013-04-26 19:47:33 -04:00
James Martin
9f0e313432 Added a ring_wait option (waits for ring_ready to return true)
Now using module.run()
Fixed raw_stats() function.
2013-04-26 17:16:47 -04:00
Michael DeHaan
8147cf9915 Merge pull request #2786 from dirkcuys/patch-1
Fix bug causing mysqldump to fail
2013-04-26 12:36:02 -07:00
Alex Quach
c0fecbfaeb Escape MySQL db names. 2013-04-26 11:48:38 -07:00
Dirk Uys
e319375bde Fix bug causing mysqldump to fail 2013-04-26 17:07:29 +03:00
Lester Wade
62a10d69a1 Fixed cloudformation docs and updated EXAMPLES section in the docs for these AWS modules. 2013-04-25 19:22:48 -07:00
Michael DeHaan
00fc43d676 Improve check mode support in the file module. 2013-04-25 21:33:47 -04:00
Michael DeHaan
bf021e25b8 Clarify script module documentation a minor amount. 2013-04-25 08:45:23 -04:00
Alexander Bulimov
4932908754 mkfs module to create filesystems with mkfs command 2013-04-25 13:42:07 +04:00
Dag Wieers
a54d3a00cd Implement python-dmidecode/dmidecode as alternative for kernel DMI
This implementation falls back to python-dmidecode (RHEL5.5+) if the kernel as no DMI support. Alternatively, if python-dmidecode is missing, we attempt to use the dmidecode binary (for RHEL5.4 and older) before giving up.

This fixes #376 and #1657 and also helps @lwade on RHEL5.5+.
2013-04-25 00:31:11 +02:00
Ingo Gottwald
89262cabd9 Updated cache_valid_time option to check the update timestamp if update-notifier-common is installed.
mtime of the apt lists is used as fallback.
2013-04-24 22:21:38 +02:00
Lester Wade
4b5bea6a32 Corrected instance password data check. Previously broken after adding region support. 2013-04-24 09:45:01 -07:00
Serge van Ginderachter
26646149a9 enforce no enteractiveness installing pkg with apt
use the same env vars and dpkg options as for the upgrade function
also link check mode to --simulate option when installing a pkg

fixes #2763
2013-04-24 12:02:05 +02:00
Ingo Gottwald
e1d024feaa Updated apt module documentation string with a cache_valid_time explanation 2013-04-23 21:55:04 +02:00
Ingo Gottwald
969b010239 Added cache_valid_time option to apt module 2013-04-23 21:54:35 +02:00
Michael DeHaan
e2d1b5aac2 Merge branch 'fix-a10d74f7' of git://github.com/sfromm/ansible into devel
Conflicts:
	library/setup
2013-04-23 13:52:31 -04:00
lonerr
d3d206a6b9 FreeBSD startup scripts (rc) supports optional arguments. 2013-04-23 21:40:50 +04:00
Stephen Fromm
60f85af91c Fix how interfaces is updated with interface fact
Was broken when handling a bridge or bonded (possibly others) interface
2013-04-23 09:13:46 -07:00
Tin Tvrtkovic
2ed3611b8b disable_gpg_check in the yum module. 2013-04-23 18:12:37 +02:00
Michael DeHaan
f23a74f41e Correct a variable reference in prior code merge. 2013-04-23 12:02:04 -04:00
Michael DeHaan
bf9ca7fc4d Fixup apt module refactoring from previous patch. 2013-04-23 09:38:32 -04:00
Michael DeHaan
62d95a58cb People using vagrant are driving things top-down through the new provisioner, so the idea of using ansible to fire against
vagrant which then calls ansible seems weird to me.  This module can still be maintained outside of core.
2013-04-23 00:29:02 -04:00
Michael DeHaan
7835ab09b8 Merge pull request #2688 from dagwieers/module-global
New module 'set_fact' to define host facts
2013-04-22 21:16:46 -07:00
Michael DeHaan
084ffc72b6 Merge pull request #2642 from sergevanginderachter/check4aptitude
apt module: part rewrite of the upgrade logic
2013-04-22 21:07:37 -07:00
Michael DeHaan
92c125b0ec Merge pull request #2630 from sergevanginderachter/uri-redirect
URI module -- make it support HTTP 301, 302, 303, 304, 307
2013-04-22 21:01:45 -07:00
Michael DeHaan
94f0dab9e2 Merge branch 'yum_with_url' of git://github.com/dparalen/ansible into merginate3 2013-04-22 23:58:51 -04:00
Michael DeHaan
6887b4b983 Merge pull request #2586 from bcoca/new_validate
Added 'validate' feature to copy and template modules,
2013-04-22 20:53:32 -07:00
Michael DeHaan
c7ab476b94 Add some whitespace 2013-04-22 23:46:58 -04:00