Commit graph

5018 commits

Author SHA1 Message Date
Michael DeHaan
d45bc26ab4 Merge branch 'setup-dmidecode' of git://github.com/dagwieers/ansible into testing_427 2013-04-27 11:09:32 -04:00
Michael DeHaan
cc7122e982 Update changelog 2013-04-27 10:45:51 -04:00
Michael DeHaan
d1ac527fb1 Add note about new logging feature in example plugin. 2013-04-27 10:36:37 -04:00
Michael DeHaan
7a135b2569 Add info about log file in changelog. 2013-04-27 10:25:24 -04:00
Michael DeHaan
aa55268514 Adds a logfile for ansible playbooks that can be set by the environment or configuration file. 2013-04-27 10:24:26 -04:00
Michael DeHaan
515fbd5a17 Restructure output to prevent rare cases of interlaced I/O in multiprocessing paths. 2013-04-27 09:46:48 -04:00
Michael DeHaan
6351b74612 Merge pull request #2791 from mcodd/devel
doc typo fix in copy module
2013-04-26 17:07:08 -07:00
Matt Coddington
f5be8918c9 doc typo fix in copy module 2013-04-26 19:47:33 -04:00
Michael DeHaan
a10ed7793a Merge pull request #2790 from jsmartin/devel
Added a ring_wait option (waits for ring_ready to return true)
2013-04-26 15:26:44 -07:00
James Martin
40b51684d7 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
eb6aac2303 Merge pull request #2786 from dirkcuys/patch-1
Fix bug causing mysqldump to fail
2013-04-26 12:36:02 -07:00
Michael DeHaan
47d3f238c0 Merge pull request #2788 from aquach/devel
Escape MySQL db names.
2013-04-26 12:35:39 -07:00
Alex Quach
92d98d24a6 Escape MySQL db names. 2013-04-26 11:48:38 -07:00
Dirk Uys
122122234d Fix bug causing mysqldump to fail 2013-04-26 17:07:29 +03:00
Michael DeHaan
c9277ef4c5 Merge pull request #2780 from lwade/cloudformationdoc
Fixed cloudformation docs and updated EXAMPLES section in the docs for t...
2013-04-26 05:29:01 -07:00
Michael DeHaan
3cb56d58c4 Merge pull request #2785 from lrupp/devel
added informations for openSUSE and SUSE Linux Enterprise
2013-04-26 05:28:06 -07:00
Michael DeHaan
e4a955666f Merge pull request #2782 from mcodd/devel
typo fix
2013-04-26 05:27:12 -07:00
Lars Vogdt
21d9789377 added informations for openSUSE and SUSE Linux Enterprise 2013-04-26 11:08:13 +02:00
Matt Coddington
c164609dd6 typo fix 2013-04-25 23:04:17 -04:00
Matt Coddington
c83c534a7d Search for roles in the roles subdir first. Throw an error when no role .yml files are found. 2013-04-25 22:40:04 -04:00
Lester Wade
a7595a6964 Fixed cloudformation docs and updated EXAMPLES section in the docs for these AWS modules. 2013-04-25 19:22:48 -07:00
Michael DeHaan
4a4958f6c9 Improve check mode support in the file module. 2013-04-25 21:33:47 -04:00
Michael DeHaan
5af271911b Fix duplicate handler notification issue in 1.2 devel 2013-04-25 21:24:15 -04:00
Michael DeHaan
224e20ca60 complex_arg templating should be smarter. Make it so! 2013-04-25 21:11:17 -04:00
Michael DeHaan
ee4a0fc6a0 Merge pull request #2775 from jhoekx/remove-debug-in-template
Remove leftover debug statement in template code.
2013-04-25 17:41:46 -07:00
Michael DeHaan
143b82c18c Clarify script module documentation a minor amount. 2013-04-25 08:45:23 -04:00
Aaron Brady
bd226eb826 Refactor user_and_group so it works off of numbers
There are various cases where a UID to username to UID mapping breaks
down. One UID can be used by two usernames, or no username. If we
always use UIDs internally, then these ambiguous cases won't be a
problem.
2013-04-25 13:23:07 +01:00
Aaron Brady
d2e457f81f Accept numeric user and group parameters 2013-04-25 13:23:07 +01:00
Alexander Bulimov
2dc59822f7 mkfs module to create filesystems with mkfs command 2013-04-25 13:42:07 +04:00
Jeroen Hoekx
ac7a632711 Remove leftover debug statement in template code. 2013-04-25 08:47:38 +02:00
Michael DeHaan
1f96925159 Update role example to show tag usage 2013-04-24 22:31:21 -04:00
Michael DeHaan
21fe750cef Flush handlers before pre and post task sections change, but not between task and roles, as this seems
to be confusing to people (and not usually neccessary)
2013-04-24 22:28:06 -04:00
Michael DeHaan
6fdfbb1a34 Improve variable smushing so it only has to be done in one place. This is related to shlex.split being called
on untemplated variables in some rare cases.
2013-04-24 22:00:40 -04:00
Michael DeHaan
af2fb56a10 Changes to allow WANT_JSON to allow JSON to non-Python modules 2013-04-24 22:00:40 -04:00
Michael DeHaan
4e2f8fe0bb Merge pull request #2774 from sfromm/issue2773
Catch exception when logging to systemd journal fails
2013-04-24 18:52:44 -07:00
Dag Wieers
4135cffc3f 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
Stephen Fromm
189b210f5a Catch exception when logging to systemd journal fails
systemd journal will throw IOError exception when journal.sendv() fails.
This catches that and falls back to syslog.  See issue #2773.
2013-04-24 15:00:47 -07:00
Ingo Gottwald
ad004d520f 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
Michael DeHaan
fd2840c0e4 Merge pull request #2772 from lwade/ec2_volattr
Corrected instance password data check.  Previously broken after adding ...
2013-04-24 11:48:51 -07:00
Lester Wade
6a7a8cda40 Corrected instance password data check. Previously broken after adding region support. 2013-04-24 09:45:01 -07:00
Michael DeHaan
a63af4fada Merge pull request #2771 from sergevanginderachter/apt-noninteractive-install
enforce no enteractiveness installing pkg with apt
2013-04-24 04:38:01 -07:00
Serge van Ginderachter
800ca63de6 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
Michael DeHaan
b2c0f642d8 Remove stray file 2013-04-23 16:36:04 -04:00
Ingo Gottwald
c4df662a7c Updated apt module documentation string with a cache_valid_time explanation 2013-04-23 21:55:04 +02:00
Ingo Gottwald
375e9d9721 Added cache_valid_time option to apt module 2013-04-23 21:54:35 +02:00
Michael DeHaan
521375a7fe Merge branch 'fix-a10d74f7' of git://github.com/sfromm/ansible into devel
Conflicts:
	library/setup
2013-04-23 13:52:31 -04:00
lonerr
30b648e48c FreeBSD startup scripts (rc) supports optional arguments. 2013-04-23 21:40:50 +04:00
Stephen Fromm
471fa6859e 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
66bcba7f19 disable_gpg_check in the yum module. 2013-04-23 18:12:37 +02:00
Michael DeHaan
c601e53fce Correct a variable reference in prior code merge. 2013-04-23 12:02:04 -04:00