Commit graph

4833 commits

Author SHA1 Message Date
Lars Vogdt
21d9789377 added informations for openSUSE and SUSE Linux Enterprise 2013-04-26 11:08:13 +02: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
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
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
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
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
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
Michael DeHaan
c601e53fce Correct a variable reference in prior code merge. 2013-04-23 12:02:04 -04:00
Michael DeHaan
f36e85efbb Fixup apt module refactoring from previous patch. 2013-04-23 09:38:32 -04:00
Michael DeHaan
bd0c22868e With fileglob should return full paths as in 1.1 2013-04-23 00:54:39 -04:00
Michael DeHaan
5cc3dd353d Update changelog 2013-04-23 00:43:55 -04:00
Michael DeHaan
574061fe47 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
13e90c396c Merge pull request #2733 from chadoh/patch-1
Documentation: Mention vars_files before the Roles section in playbooks1 chapter
2013-04-22 21:21:30 -07:00
Michael DeHaan
35e61d8f16 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
2fb4307227 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
c2c50c8fdc 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
40c7afbb64 Merge branch 'yum_with_url' of git://github.com/dparalen/ansible into merginate3 2013-04-22 23:58:51 -04:00
Stoned Elipot
e1ee257619 Default sudo password to SSH password.
While here factor out password prompting in ansible.utils
2013-04-22 23:57:50 -04:00
Michael DeHaan
be947e5266 Resolve merge conflict 2013-04-22 23:57:20 -04:00
Michael DeHaan
528cb2cb3d 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
40fd474d60 Add some whitespace 2013-04-22 23:46:58 -04:00
Michael DeHaan
aa897571b4 Merge branch 'setup-linux-network-advanced' of git://github.com/dagwieers/ansible into devel 2013-04-22 23:44:37 -04:00
Michael DeHaan
9871707998 If sudoing and the sudo user is not root, the original file is saved as you, therefore delete that file as you. 2013-04-22 23:43:13 -04:00
Michael DeHaan
89ab3a0b9f Make --list-tasks work nicer with --tags 2013-04-22 23:24:54 -04:00
Michael DeHaan
e12f91799c Allow args: var to be used to pass a variable in bare, and also templated versions should also DWIM. 2013-04-22 22:17:55 -04:00
Michael DeHaan
6c778acd91 Smush the braces in various places (hey, that rhymes) to avoid undo key=value splitting surprises
in new template system.
2013-04-22 22:05:06 -04:00
Michael DeHaan
4350585a1f Merge pull request #2747 from lwade/ec2_vol_region
Add region support to ec2 volume module.
2013-04-22 19:04:31 -07:00
Michael DeHaan
5cced79cf3 Allow variables to be used raw in with_nested 2013-04-22 21:35:09 -04:00
Michael DeHaan
fbea88b9d9 Allow the environment string to be referenced by a bare variable name like:
environment: foo
2013-04-22 21:29:15 -04:00
Lester Wade
e90f313c51 Add region support to ec2 volume module. 2013-04-22 17:27:57 -07:00
Michael DeHaan
f16751de29 Merge pull request #2746 from lwade/ec2region
Add region parameter and changed connection code.
2013-04-22 16:30:25 -07:00
Lester Wade
8c8014363e Add region parameter and changed connection code. 2013-04-22 16:23:30 -07:00
Michael DeHaan
f9f1d5ee42 Merge pull request #2745 from sfromm/issue2742
Fix test so that it is /bin/sh compliant (issue #2742)
2013-04-22 16:23:26 -07:00
Stephen Fromm
ab3cb4912e Fix test so that it is /bin/sh compliant (issue #2742)
The old test used syntax that appeared to be bash-specific and did not
work on platforms where /bin/sh did not point to bash.  See issue #2742
where copy to solaris hosts failed with the error:

    output: {'stdout': '', 'stderr': '/bin/sh: test: argument expected\n',
             'rc': 1}
2013-04-22 16:14:27 -07:00
Michael DeHaan
3e0c33c1fa Empty plays should still gather facts 2013-04-21 17:35:09 -04:00
Michael DeHaan
b08181e9b4 Merge pull request #2731 from stoned/flush_handlers-cleanup
handlers must be run once
2013-04-21 14:14:04 -07:00
Michael DeHaan
b1d40ed064 Merge pull request #2734 from chadoh/patch-2
Documentation: Links are the best kinds of instructions
2013-04-21 14:13:06 -07:00