Commit graph

3808 commits

Author SHA1 Message Date
Michael DeHaan
5c38248788 Fix crontab doc formatting 2013-02-09 14:29:31 -05:00
Michael DeHaan
550a1b5f02 Remove mercurial module reference now that we have a cleaned up hg module in core now! 2013-02-09 14:13:46 -05:00
Michael DeHaan
5457e969db Add a reference to Coderwall for tips & tricks! 2013-02-09 14:13:46 -05:00
Michael DeHaan
c91f8c1565 Merge pull request #2036 from cordmata/devel
Add rabbitmq_vhost module.
2013-02-09 10:34:56 -08:00
Michael DeHaan
4e9a1693cd Merge pull request #2035 from tgerla/devel
Add more error handling to the ec2 module, remove Python 2.6ism
2013-02-09 10:34:03 -08:00
Matt Cordial
3284fd607f Add rabbitmq_vhost module.
Simply ensures existence or non-existence of a vhost.
2013-02-09 11:28:41 -07:00
Tim Gerla
0f389b311f Add more error handling to the ec2 module, remove Python 2.6ism 2013-02-09 09:58:43 -08:00
Michael DeHaan
fa44f49afb Merge pull request #2034 from chrishoffman/rabbitmq
Adding rabbitmq modules
2013-02-09 09:04:33 -08:00
shlomozippel
e44412101b Merge recursive file permission setting on directories 2013-02-09 12:01:45 -05:00
Chris Hoffman
6f7855161c Adding rabbitmq modules 2013-02-09 11:55:23 -05:00
Michael DeHaan
8db504fba8 Merge branch 'devel' of git://github.com/lwade/ansible into devel 2013-02-09 11:47:45 -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