Commit graph

4349 commits

Author SHA1 Message Date
Lorin Hochstein
6fd5770dfd .my.cnf: default to login when no user specified
When using a .my.cnf file, when there is no user variable defined,
default to the login user.

This change has the mysql_user module behavior match the behavior
of the mysql command-line client.

Also adds an example .my.cnf to the docs.
2013-03-15 11:05:30 -04: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
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
Jimmy Tang
8c6caa2762 Fix up other places in makefile to use PYTHON variable
Only the nosetests aren't using the PYTHON variable now.
2013-03-11 15:31:07 +00:00
Seth Vidal
a7a083d882 when --step isn't specified make sure to print the banner 2013-03-11 09:48:32 -04:00
Seth Vidal
7687c2caf8 add --step option to ansible-playbooks to let people step through a playbook
one by one - asking for confirmation along the way.

also allows to 'continue' after a certain point
2013-03-11 00:39:05 -04:00
Michael DeHaan
1289dd602d Changelog update 2013-03-18 00:50:00 -04:00
Michael DeHaan
bdb231213d Add type casting to user/group modules, remove executable bit from other modules 2013-03-18 00:40:57 -04:00
Michael DeHaan
03db6ef24a Slightly more self-explanatory output for ./hacking/env-setup 2013-03-18 00:27:44 -04:00
Michael DeHaan
2962073bcf Merge branch 'fix-module-encoding' of git://github.com/andreparames/ansible into devel 2013-03-18 00:17:07 -04:00
Michael DeHaan
4eaca08664 Merge pull request #2353 from skottler/setup_clarification
Use verbose 'source' to make the document easier to read
2013-03-10 20:13:23 -07:00
Sam Kottler
86d420f481 Use verbose 'source' to make the document easier to read 2013-03-10 23:00:48 -04:00