Commit graph

4561 commits

Author SHA1 Message Date
Michael DeHaan
befad8f71f Merge pull request #2442 from lwade/vol_os_detection
add better OS detection for BDM
2013-03-29 05:48:05 -07:00
Michael DeHaan
cdf5e006ff Merge pull request #2508 from tgerla/devel
Add some examples for local_action and rsync
2013-03-29 05:46:40 -07:00
Michael DeHaan
50bd8a82fa Merge pull request #2507 from inittab/devel
Install example config file under /etc/ansible
2013-03-29 05:46:09 -07:00
Michael DeHaan
1015d3b043 Merge pull request #2522 from abulimov/lvg-module-doc
fixed and extended documentation for lvg module
2013-03-29 05:44:01 -07:00
Michael DeHaan
853d4f43cb Merge pull request #2524 from victorcoder/devel
Place ad-hoc stuff from docs under context
2013-03-29 05:43:35 -07:00
Junegunn Choi
b874027b36 compare the number of available hosts before and after running each task 2013-03-29 13:13:22 +09:00
Victor Castell
ceede2f71f Place ad-hoc stuff from docs under context 2013-03-28 16:39:06 +01:00
Alexander Bulimov
0fee59dc86 fixed and extended documentation for lvg module 2013-03-28 13:55:01 +04:00
Junegunn Choi
20a48c6bdf terminate immediately on a failure 2013-03-28 15:17:01 +09:00
Brian Coca
82c3b4e685 now ssh connection plugin will only pass user as an option to ssh if it is
differnt from the current user. This should enable overrides for user in
.ssh/config w/o breaking any current functionality.

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-03-27 16:41:54 -04:00
raphinou
ba2582fff6 replaced && by ||
In the example, you want /bin/true to be executed if the first command has an error return code. Combining command with && will run the second only if the first is successful. Combining them with ||, the second will be run only of the first fails, what is wanted here.
2013-03-27 14:37:31 +01:00
Tim Gerla
d3a7c729ab Add a note regarding rsync and ssh-agent/passphrase-less keys 2013-03-26 19:37:06 -07:00
Michael DeHaan
4552fa8592 Merge pull request #2511 from bcoca/user_checkmode_fix
user module check mode bug fix
2013-03-26 19:31:02 -07:00
Brian Coca
5ad3c0603d now check moded returnes 'changed' instead of failure when there are
modifications needed.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-03-26 22:04:04 -04:00
tin
ca581840ef Added additional lineinfile documentation.
A little more unit testing.
2013-03-27 01:31:58 +01:00
tin
f9b70822d2 Fixed to the lineinfile module.
Added the backrefs parameter to the lineinfile module.
Added tests for the backrefs functionality of the lineinfile module.
2013-03-27 01:31:58 +01:00
Michael DeHaan
868af1a892 Merge pull request #2505 from johanwiren/obsdpkg_docs
Fixed webdocs rendering error
2013-03-26 16:31:38 -07:00
Tim Gerla
0e01085ab6 Add some examples for local_action and rsync 2013-03-26 13:34:16 -07:00
Alberto Gonzalez Iniesta
40451b8f68 Install example config file under /etc/ansible 2013-03-26 20:25:03 +01:00
Johan Wirén
550cf2979e Fixed webdocs rendering error 2013-03-26 18:22:15 +01:00
Michael DeHaan
9c5028eb8b Merge pull request #2501 from sergevanginderachter/devel
gitignore and clean up authors file to  since it was removed from version control
2013-03-26 05:53:28 -07:00
Michael DeHaan
7d08ad5e82 Merge pull request #2502 from b6d/gem-module-fix
"gem"-module: replace python 2.5 language feature
2013-03-26 05:53:05 -07:00
Bernhard Weitzhofer
fd6b4c2257 "gem"-module: replace python 2.5 language feature
replace conditional expression with python 2.4-compatible if/else
statements
2013-03-26 11:45:47 +01:00
Serge van Ginderachter
ec6236a107 add clean up authors file to make clean 2013-03-26 08:19:45 +01:00
Serge van Ginderachter
0aba811cf2 add authors file to gitignore since it was removed from version control 2013-03-26 08:14:07 +01:00
Michael DeHaan
b066e9c15c Remove authors file from version control (can still be built from 'make authors') 2013-03-25 23:36:53 -04:00
Michael DeHaan
42b0e51223 Upgrade callbacks further, now '.play', '.task', and so on are also available! 2013-03-25 22:56:32 -04:00
Michael DeHaan
5b845510b3 Update changelog 2013-03-25 22:48:12 -04:00
Michael DeHaan
0d11f53eff Let the callbacks see the playbook and (current) runner objects. 2013-03-25 22:47:06 -04:00
Michael DeHaan
b0a64973b6 update changelog 2013-03-25 22:40:47 -04:00
Michael DeHaan
2d8078140d Merge branch 'test_basedir' into devel 2013-03-25 22:32:45 -04:00
Michael DeHaan
84b641c96d Add state to rhn_channel docs 2013-03-25 22:32:34 -04:00
Michael DeHaan
783a12cc0e Resolve merge commit. 2013-03-25 22:32:01 -04:00
Michael DeHaan
6f2a0c60f7 Merge branch 'ansible_inventory_basedir' of git://github.com/stoned/ansible into test_basedir
Conflicts:
	lib/ansible/runner/__init__.py
2013-03-25 22:30:06 -04:00
Michael DeHaan
28570f922e Merge pull request #2498 from jcftang/devel
Fix reinplace in macports package to work on both 10.7 and 10.8
2013-03-25 19:26:19 -07:00
Michael DeHaan
774bf8abe6 Add state to rhn_channel docs 2013-03-25 22:24:30 -04:00
Michael DeHaan
3c5890f42b Ensure that when transferring a file to a directory the name of the file is the correct basename and not 'source'. 2013-03-25 22:19:35 -04:00
Michael DeHaan
7044e53e07 Allow conditionals on BYPASS_HOST_LOOP plugins like add_host 2013-03-25 21:16:18 -04:00
Jimmy Tang
2dce6089c4 Fix reinplace in macports package to work on both 10.7 and 10.8
reinplace on OSX 10.8 seems to behave differently, this change has been tested
on a few 10.8 and 10.7 machines.
2013-03-25 17:08:40 +00:00
Michael DeHaan
cd0dd2a6ad Merge pull request #2496 from lorin/mycnf-quotes
Strip quotes when parsing my.cnf
2013-03-25 08:15:58 -07:00
Michael DeHaan
fee201428f Fix RHN module YAML docs formatting 2013-03-25 11:03:38 -04:00
Michael DeHaan
861bee3e36 Quoting 2013-03-25 10:56:57 -04:00
Michael DeHaan
518007a1ba Fix version added attribute, update docs URL 2013-03-25 10:56:32 -04:00
Lorin Hochstein
c9990b801e Strip quotes when parsing my.cnf
Remove leading/trailing single or double quotes when parsing the my.cnf
file in mysql_user and mysql_db.

Do this so that these modules parse the my.cnf file the same way that
the mysql client does.

From: http://dev.mysql.com/doc/refman/5.0/en/option-files.html

    You can optionally enclose the value within single quotation marks
    or double quotation marks, which is useful if the value contains a
    “#” comment character.

Fixes #2405
2013-03-25 09:53:04 -04:00
Michael DeHaan
9be44c201a Merge pull request #2455 from robparrott/debuggin-help
inject a dictionary of avaiable variables and the environment into executor
2013-03-24 14:49:37 -07:00
Michael DeHaan
fe2f506514 Merge pull request #2462 from sfromm/issue2461
Make logging to journal match what goes to syslog on non-systemd hosts
2013-03-24 14:46:10 -07:00
Michael DeHaan
7f4718bca4 Merge pull request #2490 from szinck/devel
Added SunOS (Solaris, illumos, etc) service management
2013-03-24 14:45:07 -07:00
Michael DeHaan
4f4ee3693f Merge pull request #2440 from jochu/service-chkconfig-add
attempt to add service to chkconfig when suggested
2013-03-24 14:33:17 -07:00
Michael DeHaan
97d2c955a8 Merge pull request #2437 from hspencer77/additional-ec2-instance-attribute-support
Added additional filter options for instances for EC2 and Eucalyptus
2013-03-24 14:31:50 -07:00
Michael DeHaan
3d5aa5dc2c Merge pull request #2487 from dorfsmay/20130322
fixed doc regarding wild card pattern on groups.
2013-03-24 14:26:07 -07:00