Dag Wieers
b13beb3689
New module 'set_fact' to define host facts
...
This module allows you to set host facts (or export play variables to the playbook scope if you fancy that).
The module also accepts complex arguments.
```yaml
- action: set_fact fact="something" global_fact="${local_var}"'
- action: set_fact
args:
fact: something
global_fact: ${local_var}
```
2013-04-18 23:06:58 +02:00
Michael DeHaan
5d1c9c7363
Merge pull request #2423 from andrew-d/andrew-fix-rubygems
...
Fix --include-dependencies parameter on RubyGems >= 2.0.0
2013-03-16 06:26:00 -07:00
Andrew Dunham
e63d008ae8
Fix --include-dependencies parameter on RubyGems >= 2.0.0
2013-03-16 06:01:02 -04:00
Michael DeHaan
94eefac456
Merge pull request #2391 from bcoca/apt_lock_exception
...
now catches lock exceptions from apt and returns friendly message
2013-03-15 18:07:52 -07:00
Michael DeHaan
7d6d009d15
Merge pull request #2411 from tyll/docs
...
glossary.rst: fix type regarding file mode
2013-03-15 18:07:28 -07:00
Michael DeHaan
6b769c2218
Merge pull request #2413 from lorin/ANSIBLE_LIBRARY_DOC
...
Docfix: ANSIBLE_LIBRARY_PATH -> ANSIBLE_LIBRARY
2013-03-15 18:07:02 -07:00
Lorin Hochstein
c7cf2bc343
Docfix: ANSIBLE_LIBRARY_PATH -> ANSIBLE_LIBRARY
2013-03-15 14:55:53 -04:00
Till Maas
2b4621d8d7
glossary.rst: fix typo regarding file mode
2013-03-15 19:43:47 +01:00
Michael DeHaan
fc8d9377d5
Merge pull request #2396 from johanwiren/obsd_facts
...
Added OpenBSD facts
2013-03-14 08:26:05 -07:00
Michael DeHaan
e3e649a963
Merge pull request #2393 from davehughes/pip-expand-virtualenv-path
...
pip module - expand user home directory variables in virtualenv parameter
2013-03-14 08:25:13 -07:00
Michael DeHaan
6f25885c1a
Merge pull request #2397 from dparalen/play_task_type_check
...
check type of task explicitly
2013-03-14 08:24:41 -07:00
Michael DeHaan
c260690f7a
Merge pull request #2395 from dhozac/arg-override-common
...
Don't override argument specs with FILE_COMMON_ARGUMENTS
2013-03-14 08:23:51 -07:00
milan
80dbab3cf0
check type of task explicitly
2013-03-14 13:06:55 +01:00
Johan Wirén
61256a7e83
Added OpenBSD facts
2013-03-14 13:04:49 +01:00
Daniel Hokka Zakrisson
fc227fbd37
Restore force in copy since arguments are no longer clobbered
...
Fixes #2388 .
2013-03-14 11:27:49 +01:00
Daniel Hokka Zakrisson
27978ed9c1
Don't override argument specs with FILE_COMMON_ARGUMENTS
...
Doing so will remove aliases, types, etc, leading to #2388 and other
issues.
2013-03-14 11:22:46 +01:00
David Hughes
08100bd798
Expand any user home variable in pip module's virtualenv parameter
2013-03-13 20:58:04 -07:00
Michael DeHaan
d0332a6c6d
Merge branch 'playbook-step' of git://github.com/skvidal/ansible into devel
2013-03-13 22:26:59 -04:00
Michael DeHaan
b87e7c0f19
Let the pip module return output.
2013-03-13 22:25:58 -04:00
Brian Coca
4f9c61d673
now actually import exception to be usable
2013-03-13 18:21:16 -04:00
Brian Coca
4a2276bb4b
now catches lock exceptoins on apt and returns friendly message instead of
...
traceback
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-03-13 18:11:23 -04:00
Michael DeHaan
f46721add1
Temporarily disable force logic on copy module
2013-03-13 13:35:33 -04:00
Michael DeHaan
4bfe707c9d
Merge pull request #2384 from bcoca/fixed_port
...
updated ports to use ansible.cc/releases as github doesn't work anymore
2013-03-13 07:42:33 -07:00
Brian Coca
49fe9b2030
updated ports to use ansible.cc/releases as github doesn't work anymore
...
Signed-off-by: Brian Coca <bcoca@tablethotels.com>
2013-03-13 10:27:20 -04:00
Michael DeHaan
0c80c76833
Fixes #2380 - argument checking in file accepts chained arguments from copy
2013-03-12 21:57:38 -04:00
Michael DeHaan
e307658350
Merge pull request #2376 from peterjanes/devel
...
Use login_host for import and dump operations
2013-03-12 12:40:34 -07:00
Michael DeHaan
2d07bb671c
Merge pull request #2377 from dorfsmay/20130312-typo
...
20130312 typo
2013-03-12 12:39:39 -07:00
Michael DeHaan
91b3dc73cc
Merge pull request #2378 from eest/service_bsd_check
...
Dont exit in FreeBSD/NetBSD subclass in check mode
2013-03-12 12:39:13 -07:00
Patrik Lundin
88a840e52f
Dont exit in FreeBSD/NetBSD subclass in check mode
...
* As the FIXMEs note: only exit if enable state is going to change.
* This is already handled in service_enable_rcconf() being called by both subclasses.
2013-03-12 20:25:25 +01:00
Yves Dorfsman
2d0df2f233
Rephrased an awkward sentence.
2013-03-12 10:25:44 -06:00
Yves Dorfsman
d1d7d56315
typo in playbooks2.rst
2013-03-12 10:21:57 -06:00
Peter Janes
f6f7d3559d
Use login_host for import and dump operations
2013-03-12 12:07:16 -04:00
Michael DeHaan
0c00dcca34
Merge pull request #2373 from dagwieers/doc-boolean
...
Fix the documentation booleans so they use "yes" and "no"
2013-03-12 06:28:23 -07:00
Dag Wieers
50b7964f8e
Fix the documentation booleans so they use "yes" and "no"
...
Both modules seboolean and zfs have not been adapted since they defer from the default (either by having a 'null' or special state, or prefering "on"/"off" for state indication.
2013-03-12 13:25:59 +01:00
Michael DeHaan
77198b09e9
Add content to the list of file common arguments.
2013-03-12 01:06:55 -04:00
Michael DeHaan
57d193556c
Merge pull request #2371 from stoned/list-replacement-type-fix
...
exception safe list/tuple replacing for non-str values
2013-03-11 21:56:49 -07:00
Stoned Elipot
8edda38c61
exception safe list/tuple replacing for non-str values
2013-03-12 05:01:45 +01:00
Michael DeHaan
df9e716208
Fix example
2013-03-11 23:37:29 -04:00
Michael DeHaan
444c8943fc
Merge pull request #2369 from leucos/arch-pkgbuild-fix
...
Fixes Arch building file
2013-03-11 15:27:09 -07:00
Michael DeHaan
e241bb5801
Merge pull request #2367 from bcoca/catch_mismatched_json
...
now cleanly catches traceback when conflicting versions of simplejson and python are installed
2013-03-11 15:26:01 -07:00
Michael DeHaan
b19e199b13
Merge pull request #2362 from jcftang/packaging-el5
...
Teach 'make rpm' to work on EL5 based systems
2013-03-11 15:20:55 -07:00
Michel Blanc
04b19062d3
Fixes arch building file
...
Arch python binary patch was broken since improvement in 785068d
. This
change fixes patch, removing most of the lines thanks to the new PYTHON
variable.
New source file already uploaded on AUR.
2013-03-11 23:19:27 +01:00
Michael DeHaan
a22009806e
Nested iteration would make more sense in this order.
2013-03-11 17:58:27 -04:00
Michael DeHaan
0dbfa02f0c
Example of how to do nested loops. 15 minutes of code :)
2013-03-11 17:49:01 -04:00
Michael DeHaan
edc04d61f3
Added 'with_nested' lookup plugin that can easily do nested loops.
2013-03-11 17:47:57 -04:00
Michael DeHaan
298d64aa1d
Quote remote md5 operations. Fixes #2368
2013-03-11 17:19:43 -04:00
Michael DeHaan
e304cc3d8e
Simple fix for spaces in filenames with the template module.
2013-03-11 17:13:59 -04:00
Michael DeHaan
6e2ea327d1
A very simple fix to enable spaces in the files sent via the copy module.
2013-03-11 17:11:53 -04:00
Brian Coca
95a977cfc9
now cleanly catches traceback that occurs when running newer simplejson with
...
older python interpreter.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-03-11 15:10:49 -04:00
Jimmy Tang
40ca1d4b3e
Teach 'make rpm' to build on RHEL5/SL5 etc...
2013-03-11 15:37:03 +00:00