Commit graph

3797 commits

Author SHA1 Message Date
Chris Hoffman
6f7855161c Adding rabbitmq modules 2013-02-09 11:55:23 -05:00
Steve Frank
36027ddbba Squashed commit of the following:
Changed ami_tags to instance_tags to better follow naming convention
    Add support for creating tags on the new instances
2013-02-09 11:43:30 -05:00
Michael DeHaan
a894791767 Slightly friendlier error on missing hosts file, slightly friendlier error on inventory script returning invalid syntax
(or if inventory is non-script and accidentally executable).
2013-02-09 11:37:55 -05:00
Michael DeHaan
1163c23c35 Merge branch 'nice_missing_inventory' of git://github.com/bcoca/ansible into devel 2013-02-09 11:33:18 -05:00
Brian Coca
ca5f52b825 now missing hosts file gives nice message and no traceback
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-02-09 11:32:18 -05:00
Michael DeHaan
e564de3983 Some formatting preferences for --list-hosts and --list-tasks 2013-02-09 11:28:59 -05:00
Michael DeHaan
e231708260 Merge branch 'devel' of git://github.com/schmic/ansible into schmic-devel 2013-02-09 11:24:08 -05:00
Brian Coca
0e8627b7e8 added block device info gathering, full for linux, partial for freebsd added prettyfing byte function Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
moved moutns out of devices Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-02-09 11:15:22 -05:00
Mike Grozak
171a01deac Cron module upgrades
- added cron_file attribute: if specified, the file with appropriate
job is created in /etc/cron.d directory. Also, you can store multiple
jobs in one file. state='absent' attribute is handled in the following
way in this case: if after the deletion of the job from the file specified
by cron_file variable the file is empty, the file is deleted, otherwise
not.
  - fixed the behaviour, when the backupfile is saved forever in /tmp
folder, even if the backup= atribute is not set (os.unlink() is called if
backup is not True).
  - added some comments to the unobvious places
2013-02-09 11:11:19 -05:00
Michael DeHaan
50495680d5 Merge pull request #2033 from lorin/intersect-pattern
Document :& host notation and using variables with hosts
2013-02-09 07:51:06 -08:00
Lorin Hochstein
44084a83a4 Document :& host notation and using variables with hosts 2013-02-09 10:47:52 -05:00
Michael DeHaan
aebacdb2d7 Merge pull request #1949 from elliotttf/devel
Adding mongodb_user module.
2013-02-09 06:47:20 -08:00
Michael DeHaan
d102f04ffc Merge pull request #1942 from blair/pip-virtualenv-add-system-package-support
library/pip: add support for virtualenv's --system-site-packages.
2013-02-09 06:45:56 -08:00
Michael DeHaan
6266571c15 Merge pull request #2030 from cordmata/devel
Fix Issue #2025 where templates were not being transfered.
2013-02-08 11:17:09 -08:00
Matt Cordial
2ccfc8d2b6 Fix Issue #2025 where templates were not being transfered. 2013-02-08 12:03:54 -07:00
Michael DeHaan
23bffc5f25 update changelog 2013-02-07 23:07:19 -05:00
Michael DeHaan
a9162a86f2 Very basic --diff option for showing what happens when templates change.
Probably output is not useful if not used with --limit

Works well with --check mode
2013-02-07 22:52:25 -05:00
Michael DeHaan
3d6993221e service status 4 should also be stopped 2013-02-07 21:29:31 -05:00
Daniel Hokka Zakrisson
f3305564e2 Add stderr contents to parse errors 2013-02-07 23:50:00 +01:00
schmic
1205bbe195 Adds commandline parameter --list-tasks 2013-02-07 22:29:28 +01:00
Daniel Hokka Zakrisson
19f3cf45f4 Merge pull request #1982 from dex4er/feature_j2_filter_safe_yaml
Use yaml.safe_dump rather than yaml.dump. No more "!!python/unicode".
2013-02-07 13:24:08 -08:00
Daniel Hokka Zakrisson
663052dd16 Merge pull request #2011 from schmic/devel
No authentication when ansible-playbook is called with --syntax-check
2013-02-07 12:16:51 -08:00
schmic
dd9e3430e4 No authentication with --syntax-check 2013-02-07 21:09:45 +01:00
Daniel Hokka Zakrisson
dddfeac9c4 Allow using ${hostvars.<node>} for nodes not in SETUP_CACHE
This allows accessing inventory data from nodes that have not been
talked to (yet).
2013-02-07 18:40:41 +01:00
Michael DeHaan
7d43865e13 Merge pull request #1986 from jcftang/devel
Documentation Fixes relating to OSX and macports
2013-02-07 05:04:03 -08:00
Michael DeHaan
9113c01e37 Merge pull request #1990 from roller/devel
Specify repo option with hg pull
2013-02-07 05:03:38 -08:00
Michael DeHaan
c3cfb450a9 Merge pull request #2006 from stoned/doc-fix-examples-yum
Fix yum module examples: the 'pkg' parameter is now 'name'
2013-02-07 05:02:53 -08:00
Stoned Elipot
312ba593fd Fix yum module examples: the 'pkg' parameter is now 'name' 2013-02-07 13:27:53 +01:00
Daniel Hokka Zakrisson
ffd4ae11b8 Merge pull request #1993 from fdavis/timeout_ssh
Add ConnectTimeout=DEFAULT_TIMEOUT to ssh args
2013-02-07 03:20:46 -08:00
Daniel Hokka Zakrisson
70d5dad726 Also catch NameErrors which would indicate missing quotes 2013-02-07 11:56:59 +01:00
Daniel Hokka Zakrisson
bc709e7b67 expand_lists should default to False 2013-02-07 11:56:59 +01:00
Daniel Hokka Zakrisson
7a49230e85 Merge pull request #2005 from ftao/supervisorctl-update
always restart the program when state=restarted
2013-02-07 01:00:18 -08:00
ftao
9174c52b1d always restart the program when state=restarted 2013-02-07 15:53:36 +08:00
fdavis
21a5c55921 Add ConnectTimeout=DEFAULT_TIMEOUT to ssh args 2013-02-06 23:42:04 -08:00
Daniel Hokka Zakrisson
98f0a9210e Raise an error when multiple when_* statements are provided
Fixes #1994.
2013-02-07 08:11:30 +01:00
Daniel Hokka Zakrisson
b0932e1638 Merge pull request #1999 from dorfsmay/pullreq-lineinfile
Clarification on how to use insertafter with a regex.
2013-02-06 23:09:55 -08:00
Daniel Hokka Zakrisson
43c9a665e1 Merge pull request #2001 from stoned/ansible-limit-list-hosts
For ansible --list-hosts benefit apply hosts selection limits early
2013-02-06 23:09:18 -08:00
Daniel Hokka Zakrisson
ded3b954a2 Add 1.0 release to Debian changelog
Fixes #1988.
2013-02-06 17:09:39 +01:00
Daniel Hokka Zakrisson
dab31116b3 Actually add stdout data to stdout buffer for daemon mode 2013-02-06 16:52:04 +01:00
Daniel Hokka Zakrisson
d5e63332fe Raise an error if an action doesn't have a string type
Happens with e.g. "command: true" that YAML helpfully converts to a
bool.
2013-02-06 16:41:34 +01:00
Stoned Elipot
82011b043a For ansible --list-hosts benefit apply hosts selection limits early 2013-02-06 14:47:21 +01:00
Yves Dorfsman
05a3876dc9 Clarification on how to use insertafter with a regex. 2013-02-06 01:25:30 -07:00
Michael DeHaan
924e9ffe8b Merge pull request #1995 from runekaagaard/devel
Fixing bug with unicode templates
2013-02-05 18:58:39 -08:00
Rune Kaagaard
7a8b27f716 Fixing bug with unicode templates.
The utils.md5s() function would break when calculating checksums
for non-ascii characters. Convert to utf-8 first.
2013-02-05 14:49:59 +01:00
Blair Zajac
106fb10dab library/pip: add support for virtualenv's --system-site-packages. 2013-02-04 17:03:25 -08:00
Joel Roller
ac716ac9ca Specify repo option with hg pull
Fixes #1989
2013-02-04 17:19:59 -06:00
Jimmy Tang
7a40ed41f7 Documentation Fixes relating to OSX and macports
Insert some notes about installing on OSX via macports
2013-02-04 19:57:33 +00:00
Daniel Hokka Zakrisson
c1b63d1500 Fix for when conditional is a simple bool already
Fixes #1983.
2013-02-04 20:12:53 +01:00
Piotr Roszatycki
8cf268441e Use yaml.safe_dump rather than yaml.dump. No more "!!python/unicode". 2013-02-04 13:40:07 +01:00
Daniel Hokka Zakrisson
1becc665b2 Fix missing ) in add_host
Fixes #1980.
2013-02-04 12:21:33 +01:00