Commit graph

1559 commits

Author SHA1 Message Date
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
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
Michael DeHaan
e9e4bb0b81 Merge branch 'setup-linux-network-advanced' of git://github.com/dagwieers/ansible into devel 2013-04-22 23:44:37 -04:00
Michael DeHaan
7e6e7ebab8 Merge pull request #2747 from lwade/ec2_vol_region
Add region support to ec2 volume module.
2013-04-22 19:04:31 -07:00
Lester Wade
7bbccddc62 Add region support to ec2 volume module. 2013-04-22 17:27:57 -07:00
Michael DeHaan
e8927edd5f Merge pull request #2746 from lwade/ec2region
Add region parameter and changed connection code.
2013-04-22 16:30:25 -07:00
Lester Wade
44bdff8ead Add region parameter and changed connection code. 2013-04-22 16:23:30 -07:00
Jim Kleckner
8097a77d2e Nit fix spelling of separate 2013-04-21 12:33:51 -07:00
Alex Tomkins
c2cd9821c1 sysctl check fails if a custom sysctl_file is given. 2013-04-21 15:28:56 +01:00
Michael DeHaan
b72dedc36e Since using platform.node, be sure to just return the hostname component. 2013-04-20 09:34:37 -04:00
Michael DeHaan
f5e43d6a9a Merge commit '53ac0bb' into devel 2013-04-20 09:13:10 -04:00
Michael DeHaan
5055bdf9cc Fixup authorized key documentation formatting 2013-04-20 09:10:19 -04:00
Michael DeHaan
e67a8852e9 Showcase the new-style lookup plugin access in the authorized_key docs rather than the old-style $FILE 2013-04-20 09:10:19 -04:00
jtsoi
778cb826d7 Typo in example, extra space breaks playbook. 2013-04-19 22:43:50 +03:00
Michael DeHaan
1a18b7fd22 Fixup authorized key documentation formatting 2013-04-18 22:43:14 -04:00
Michael DeHaan
afdad457ec Showcase the new-style lookup plugin access in the authorized_key docs rather than the old-style $FILE 2013-04-18 22:38:48 -04:00
Nathan L. Walls
14415fd6c7 Small spelling correction to authorized_key module docs 2013-04-18 22:16:28 -04:00
Dag Wieers
6d31a7cdbf New module 'set_fact' to define host facts
This module allows you to set host facts (or export play variables to the playbook scope if you fancy that).

The module also accepts complex arguments.

```yaml
 - action: set_fact fact="something" global_fact="${local_var}"'
 - action: set_fact
   args:
      fact: something
      global_fact: ${local_var}
```
2013-04-18 23:06:58 +02:00
lwade
3626775b85 correct reference to module 2013-04-18 10:36:07 +01:00
Darren Worrall
6bba361e7c Add define command to virt module 2013-04-17 16:46:09 +01:00
Michael DeHaan
e85276ab31 Merge pull request #2596 from blair/ec2_facts-provides-ec2-region
ec2_facts: add ansible_ec2_placement_region key/value pair for EC2 regio...
2013-04-16 17:28:13 -07:00
Michael DeHaan
1d9b847267 Merge pull request #2608 from lwade/ec2zone
Add availability zone parameter
2013-04-16 17:20:55 -07:00
Michael DeHaan
13d4676639 Use platform.node() for the hostname, leave fqdn calculated the same way 2013-04-16 20:10:21 -04:00
Michael DeHaan
88972c996a Add version added to module docs 2013-04-16 20:07:18 -04:00
Michael DeHaan
55828d14da Merge pull request #2580 from blair/ec2_vol-improvements
Ec2 vol improvements
2013-04-16 16:58:54 -07:00
Michael DeHaan
133edecd11 Merge pull request #2692 from j2sol/rax
Minor fixes to the rax module
2013-04-16 16:52:43 -07:00