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
Jan-Piet Mens
dfd885a012
Make ANSIBLE_NOCOWS configurable
...
nocows = 1 in ansible.cfg
or old environment variable ANSIBLE_NOCOWS=1
add to ansible.cfg example
2013-04-23 16:43:23 +02: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