Commit Graph

3779 Commits (2ccfc8d2b661cd21b50ff8453e81279216b2717f)
 

Author SHA1 Message Date
Matt Cordial 2ccfc8d2b6 Fix Issue #2025 where templates were not being transfered. 12 years ago
Michael DeHaan 23bffc5f25 update changelog 12 years ago
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
12 years ago
Michael DeHaan 3d6993221e service status 4 should also be stopped 12 years ago
Daniel Hokka Zakrisson f3305564e2 Add stderr contents to parse errors 12 years ago
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".
12 years ago
Daniel Hokka Zakrisson 663052dd16 Merge pull request #2011 from schmic/devel
No authentication when ansible-playbook is called with --syntax-check
12 years ago
schmic dd9e3430e4 No authentication with --syntax-check 12 years ago
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).
12 years ago
Michael DeHaan 7d43865e13 Merge pull request #1986 from jcftang/devel
Documentation Fixes relating to OSX and macports
12 years ago
Michael DeHaan 9113c01e37 Merge pull request #1990 from roller/devel
Specify repo option with hg pull
12 years ago
Michael DeHaan c3cfb450a9 Merge pull request #2006 from stoned/doc-fix-examples-yum
Fix yum module examples: the 'pkg' parameter is now 'name'
12 years ago
Stoned Elipot 312ba593fd Fix yum module examples: the 'pkg' parameter is now 'name' 12 years ago
Daniel Hokka Zakrisson ffd4ae11b8 Merge pull request #1993 from fdavis/timeout_ssh
Add ConnectTimeout=DEFAULT_TIMEOUT to ssh args
12 years ago
Daniel Hokka Zakrisson 70d5dad726 Also catch NameErrors which would indicate missing quotes 12 years ago
Daniel Hokka Zakrisson bc709e7b67 expand_lists should default to False 12 years ago
Daniel Hokka Zakrisson 7a49230e85 Merge pull request #2005 from ftao/supervisorctl-update
always restart the program when state=restarted
12 years ago
ftao 9174c52b1d always restart the program when state=restarted 12 years ago
fdavis 21a5c55921 Add ConnectTimeout=DEFAULT_TIMEOUT to ssh args 12 years ago
Daniel Hokka Zakrisson 98f0a9210e Raise an error when multiple when_* statements are provided
Fixes #1994.
12 years ago
Daniel Hokka Zakrisson b0932e1638 Merge pull request #1999 from dorfsmay/pullreq-lineinfile
Clarification on how to use insertafter with a regex.
12 years ago
Daniel Hokka Zakrisson 43c9a665e1 Merge pull request #2001 from stoned/ansible-limit-list-hosts
For ansible --list-hosts benefit apply hosts selection limits early
12 years ago
Daniel Hokka Zakrisson ded3b954a2 Add 1.0 release to Debian changelog
Fixes #1988.
12 years ago
Daniel Hokka Zakrisson dab31116b3 Actually add stdout data to stdout buffer for daemon mode 12 years ago
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.
12 years ago
Stoned Elipot 82011b043a For ansible --list-hosts benefit apply hosts selection limits early 12 years ago
Yves Dorfsman 05a3876dc9 Clarification on how to use insertafter with a regex. 12 years ago
Michael DeHaan 924e9ffe8b Merge pull request #1995 from runekaagaard/devel
Fixing bug with unicode templates
12 years ago
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.
12 years ago
Joel Roller ac716ac9ca Specify repo option with hg pull
Fixes #1989
12 years ago
Jimmy Tang 7a40ed41f7 Documentation Fixes relating to OSX and macports
Insert some notes about installing on OSX via macports
12 years ago
Daniel Hokka Zakrisson c1b63d1500 Fix for when conditional is a simple bool already
Fixes #1983.
12 years ago
Piotr Roszatycki 8cf268441e Use yaml.safe_dump rather than yaml.dump. No more "!!python/unicode". 12 years ago
Daniel Hokka Zakrisson 1becc665b2 Fix missing ) in add_host
Fixes #1980.
12 years ago
Michael DeHaan 06f7858622 Update README.md 12 years ago
Michael DeHaan e25b2fb41c Update README.md 12 years ago
Michael DeHaan fed82c2188 This implements a basic --check mode which for now is only implemented on template & copy operations. More detail will be shared with the list
shortly.
12 years ago
Daniel Hokka Zakrisson 28cf95e585 Use module.get_bin_path for pkgin module instead of hardcoding paths 12 years ago
Daniel Hokka Zakrisson d8d1f2cd7a Split PATH on os.pathsep, that is what it's there for 12 years ago
Daniel Hokka Zakrisson a025cfcb33 Add on_import_for_host callback from non-list case 12 years ago
Michael DeHaan dc5c430f45 Merge pull request #1970 from piffey/devel
Devel
12 years ago
Michael DeHaan 3fe0aa9806 Merge pull request #1974 from jcftang/devel
Integrate upstream changes from Portfile that exists in macports
12 years ago
Daniel Hokka Zakrisson c1e0f0b4db sysctl was added in 1.0
Fixes #1972.
12 years ago
Daniel Hokka Zakrisson 9a34c20cc5 Create Play objects for --list-hosts to mimic actual behaviour
This makes --list-hosts work more like actually running the playbook,
and thus gets the correct hosts with regard to includes and similar.

Fixes #1959.
12 years ago
Daniel Hokka Zakrisson a79373f6b2 Make template_ds the only templater
Instead of having to remember when to use which one, rename template_ds
to template and move the last bit of code from template to varReplace
(which gets used for all string replacements, in the end).

This means that you can template any data type without worrying about
whether it's a string or not, and the right thing will happen.
12 years ago
Jimmy Tang ebd2ed72f7 Integrate upstream changes from Portfile that exists in macports
See this post - https://groups.google.com/forum/?fromgroups=#!topic/ansible-project/7xdC0MP9MjM

I was not aware that blair had uploaded a portfile to macports already,
this set of changes makes the 'devel' version of the portfile similar
to the upstream. Except the man pages, examples and sample config files.
12 years ago
Piffey Parlance 0f44ba5a5a * Minor removal of some dumb I did. 12 years ago
Piffey Parlance 39c8becfc8 * Added support for multi-line key files. 12 years ago
Michael DeHaan 42daffdb38 Merge pull request #1948 from yeukhon/devel
hg module cleaned up
12 years ago
Michael DeHaan f7aaa5ccc5 Fix copyright, unused imports 12 years ago