Commit graph

4925 commits

Author SHA1 Message Date
Michael DeHaan
17f3cb6dde Merge branch 'yum-module' of git://github.com/Tinche/ansible into testing_427 2013-04-27 11:34:58 -04:00
Michael DeHaan
b8fdcff524 Merge branch 'nocows' of git://github.com/jpmens/ansible into devel
Conflicts:
	lib/ansible/callbacks.py
	lib/ansible/constants.py
2013-04-27 11:34:39 -04:00
Michael DeHaan
1a4d801cdb Merge branch 'testing_427' into devel 2013-04-27 11:28:46 -04:00
Michael DeHaan
553751aee1 Merge branch 'numeric_ids_refactor' of git://github.com/insom/ansible into testing_427 2013-04-27 11:21:30 -04:00
Michael DeHaan
c83bdc1a8d Add virt guest creation to virt module docs 2013-04-27 11:20:35 -04:00
Michael DeHaan
2e57c40cc2 Merge pull request #2702 from DazWorrall/devel
Add define command to virt module
2013-04-27 08:15:48 -07:00
Dag Wieers
77e4909166 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
Ivan Lezhnjov IV
b4b0d2c4a3 Fixes wrong Source URL
Signed-off-by: Ivan Lezhnjov IV <ivan.lezhnjov.iv@gmail.com>
2013-04-27 11:14:14 -04:00
Ivan Lezhnjov IV
ea39454f98 Updated ansible.spec should now work for CentOS 5 and CentOS 6
Signed-off-by: Ivan Lezhnjov IV <ivan.lezhnjov.iv@gmail.com>
2013-04-27 11:14:14 -04:00
Michael DeHaan
52bed971cc Merge branch 'devel' of git://github.com/iliv/ansible into testing_427 2013-04-27 11:12:46 -04:00
Michael DeHaan
76723f6b37 Merge pull request #2610 from peterjanes/devel
Basic RDS support for EC2 inventory
2013-04-27 08:10:57 -07:00
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
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
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