Commit graph

3745 commits

Author SHA1 Message Date
Michael DeHaan
06f7858622 Update README.md 2013-02-03 22:20:04 -05:00
Michael DeHaan
e25b2fb41c Update README.md 2013-02-03 22:17:13 -05:00
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.
2013-02-03 20:34:13 -05:00
Daniel Hokka Zakrisson
28cf95e585 Use module.get_bin_path for pkgin module instead of hardcoding paths 2013-02-03 23:57:34 +01:00
Daniel Hokka Zakrisson
d8d1f2cd7a Split PATH on os.pathsep, that is what it's there for 2013-02-03 23:57:34 +01:00
Daniel Hokka Zakrisson
a025cfcb33 Add on_import_for_host callback from non-list case 2013-02-03 23:37:29 +01:00
Michael DeHaan
dc5c430f45 Merge pull request #1970 from piffey/devel
Devel
2013-02-03 06:34:09 -08:00
Michael DeHaan
3fe0aa9806 Merge pull request #1974 from jcftang/devel
Integrate upstream changes from Portfile that exists in macports
2013-02-03 06:29:59 -08:00
Daniel Hokka Zakrisson
c1e0f0b4db sysctl was added in 1.0
Fixes #1972.
2013-02-03 14:01:55 +01:00
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.
2013-02-03 14:01:55 +01:00
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.
2013-02-03 14:01:54 +01:00
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.
2013-02-03 12:18:14 +00:00
Piffey Parlance
0f44ba5a5a * Minor removal of some dumb I did. 2013-02-02 18:17:18 -06:00
Piffey Parlance
39c8becfc8 * Added support for multi-line key files. 2013-02-02 18:07:10 -06:00
Michael DeHaan
42daffdb38 Merge pull request #1948 from yeukhon/devel
hg module cleaned up
2013-02-02 10:27:06 -08:00
Michael DeHaan
f7aaa5ccc5 Fix copyright, unused imports 2013-02-02 13:06:48 -05:00
Michael DeHaan
7d9b29d48a Update changelog 2013-02-02 13:03:07 -05:00
Michael DeHaan
857ccf7f6c Add random choice plugin (with_random_choice) 2013-02-02 13:02:47 -05:00
Michael DeHaan
5cdc25ec47 Tweak documentation example about lookup plugins 2013-02-02 12:56:56 -05:00
Michael DeHaan
f4dddfdbab Fixup inventory docs 2013-02-02 12:43:05 -05:00
Michael DeHaan
dd91452eda Better explain precedence. 2013-02-02 12:29:49 -05:00
Michael DeHaan
bf088a50aa Add when_failed/changed dates 2013-02-02 12:26:26 -05:00
Michael DeHaan
cde5b4b80c Reference sudo flag changeability. 2013-02-02 12:24:48 -05:00
Michael DeHaan
1e3df3b5ab Show how to assign lookup plugins in variables 2013-02-02 12:19:21 -05:00
Michael DeHaan
fe5ab64b62 Document lookup plugin shorthand 2013-02-02 12:03:48 -05:00
Michael DeHaan
78ecc45d4d Document other syntaxes 2013-02-02 12:02:08 -05:00
Michael DeHaan
0ae7f996f5 Make sure all the lookup plugins are documented. 2013-02-02 11:51:25 -05:00
Michael DeHaan
318e3302fb Fix up some version related things on the devel branch. 2013-02-01 21:38:21 -05:00
Michael DeHaan
cd7c3e7b91 Update release date 2013-02-01 21:35:13 -05:00
Michael DeHaan
6a64e9f024 Update changelog 2013-02-01 21:27:00 -05:00
Michael DeHaan
602656f02c Merge pull request #1961 from skvidal/yum-mod
Yum mod
2013-02-01 18:13:18 -08:00
Michael DeHaan
7ffa2a2b06 Merge pull request #1957 from jcftang/devel
Add macports packaging - points to git repo and devel branch instead of ...
2013-02-01 18:11:50 -08:00
Michael DeHaan
1d638d62ee Merge pull request #1954 from lorin/ec2-facts-fix
If ec2 fact has ':' or '-', change to '_'
2013-02-01 18:10:47 -08:00
Michael DeHaan
6d72529420 Merge pull request #1932 from jblaine/patch-1
Correct python module name for jinja2
2013-02-01 18:09:31 -08:00
Stephen Fromm
59134ebe93 Merge pull request #1951 from leucos/patch-2
Update packaging/arch/PKGBUILD
2013-02-01 17:15:40 -08:00
Stephen Fromm
f853f2b19d Merge pull request #1962 from akerl/envfix
fixed shebang in hacking test-module
2013-02-01 16:57:09 -08:00
Les Aker
ee274b5816 fixed shebang in hacking test-module 2013-02-01 17:11:38 -05:00
Seth Vidal
808554dee6 use a local copy of repoq so we don't inadvertently pollute the one for is_installed 2013-02-01 16:47:53 -05:00
Seth Vidal
1c067845f2 don't apply enablerepo's to is_installed() to work around yum-utils/repoquery drift from all things
good and proper
2013-02-01 12:39:02 -05:00
Jimmy Tang
c1812a9df4 Add macports packaging - points to git repo and devel branch instead of releases 2013-02-01 16:51:20 +00:00
Lorin Hochstein
4d38c68489 If ec2 fact has ':' or '-', change to '_'
Change ec2 fact names with colons (:) or dashes (:) to undescore (_)
so that they can be used in templates.

Note that this makes copies instead of replacing the exisitng fact
names to avoid breaking existing playbooks.
2013-01-31 21:00:25 -05:00
Seth Vidal
5c26805ee7 test the repos in enablerepo/disablerepo and error out if they are broken 2013-01-31 17:23:10 -05:00
Daniel Hokka Zakrisson
f7e286cf34 Fix error format for invalid vars_files 2013-01-31 20:25:28 +01:00
Michel Blanc
bd5f699291 Update packaging/arch/PKGBUILD
Removes python2-json dependancy which is not required on Arch (python 2.7)
2013-01-31 18:19:32 +01:00
Daniel Hokka Zakrisson
923929081a Merge pull request #1945 from skvidal/extravars
- make extra-vars override all other vars and facts in playbooks
2013-01-31 08:33:59 -08:00
Seth Vidal
83b9654c63 stop updating SETUP_CACHE in run_play as per comment on pr 1945 2013-01-31 11:24:22 -05:00
Yeukhon Wong
cc6fc149c2 Merge remote-tracking branch 'upstream/devel' into devel 2013-01-31 02:15:17 -05:00
Yeukhon Wong
980ffde192 Changes is now determined by simply comparing before,after and cleaned (purge and/or force). Doc is updated. 2013-01-31 02:11:28 -05:00
Yeukhon Wong
ccc903216b Use %s instead of .format for string replacement. Revisied the documentation. 2013-01-30 22:40:26 -05:00
Michael DeHaan
fabb2a61de Merge pull request #1946 from tgerla/devel
Only inventory "running" EC2 instances. "stopped" is also a valid state ...
2013-01-30 16:00:45 -08:00