Commit graph

7396 commits

Author SHA1 Message Date
sspans
904a129ac1 skip absolute path creation for old_src, not needed with the new relative links 2013-11-04 10:44:06 +01:00
sspans
684921c1c1 only require absolute paths for hardlinks 2013-11-04 10:37:36 +01:00
Michael DeHaan
eab6737209 Clarify a warning message. 2013-11-03 12:47:07 -05:00
Michael DeHaan
83d50b1984 Make it slightly more clear what side of the connection is missing keyczar if using accelerate mode. 2013-11-03 12:46:21 -05:00
Michael DeHaan
4bb34d006e Merge pull request #4793 from ilkka/patch-2
Fix code block quoting in documentation
2013-11-03 08:55:33 -08:00
Michael DeHaan
a1d8734040 Merge pull request #4792 from ilkka/patch-1
Clarify cobbler.py usage and testing instructions
2013-11-03 08:55:12 -08:00
Michael DeHaan
6e6884d6e0 Merge pull request #4789 from mohangk/devel
Fix for connect method parameter order
2013-11-03 08:49:00 -08:00
Michael DeHaan
49c86bc24b Merge pull request #4788 from stevetjoa/devel
Changed parameter from 'user' to 'name' in the examples to coincide with...
2013-11-03 08:48:39 -08:00
Ilkka Laukkanen
31d55e03b0 Fix code block quoting
Add double colons where necessary to get code blocks, not blockquotes.
2013-11-03 18:31:25 +02:00
Ilkka Laukkanen
e0e01ddbe4 Clarify cobbler.py usage and testing instructions
The doc incorrectly advised executing the static inventory, not the `cobbler.py` script. Also fixes minor language issue.
2013-11-03 18:26:28 +02:00
Mohan Krishnan
56bd9a14d5 Fix for connect method parameter order 2013-11-03 14:48:35 +07:00
Steve Tjoa
626d41c1d1 Changed parameter from 'user' to 'name' in the examples to coincide with the specs. 2013-11-02 22:42:44 -07:00
Michael DeHaan
57a725fc16 Merge pull request #4787 from mohangk/devel
Fix: ec2_eip connect method references module var that is not passed in
2013-11-02 17:02:52 -07:00
Mohan Krishnan
0ae9128c7b ec2_eip connect method references module var that is not passed in 2013-11-03 05:18:27 +07:00
Michael DeHaan
4bfbee6939 Update CHANGELOG.md 2013-11-02 16:17:09 -04:00
Michael DeHaan
1cc894f54b Merge pull request #4782 from mscherer/improve_pyflakes_makefile
check more files using make pyflakes ( ie subdirectory of lib/ansible/ )
2013-11-02 08:23:56 -07:00
Michael Scherer
906f7fd8a0 check more files using make pyflakes ( ie subdirectory of lib/ansible/ ) 2013-11-02 16:07:58 +01:00
Michael DeHaan
334dcfa2fa Update module documentation. 2013-11-02 09:34:44 -04:00
Michael DeHaan
70c9028e1e include_vars plugin should look in vars/ path for a role. 2013-11-02 09:34:44 -04:00
Michael DeHaan
99687749a3 Merge pull request #4775 from steverweber/fix-4640
dont sudo if sudo_user is the same as the connection user
2013-11-01 15:27:55 -07:00
Michael DeHaan
874c0d1c00 Merge pull request #4774 from rsutphin/source_env_in_mod_dev_docs
Document env dependency for test-module
2013-11-01 15:27:36 -07:00
Steve Weber
5bd52796ec dont sudo if sudo_user is the same as the active user 2013-11-01 14:19:33 -04:00
Rhett Sutphin
aa475d337a Document env dependency for test-module.
You need to source hacking/env-setup before running hacking/test-module;
otherwise you get an error like this:

    ImportError: No module named ansible.utils
2013-11-01 12:32:15 -05:00
Michael DeHaan
e725eea4be Merge pull request #4770 from dragon3/devel
ec2_vol: return volume_id/device even when volume mapping already exists
2013-11-01 09:32:54 -07:00
James Tanner
afa5988391 Fixes #4540 Use shared module snippet to evaluate ec2 credentials 2013-11-01 11:59:24 -04:00
dragon3
19b5008c0a return volume_id/device even when volume mapping already exists 2013-11-01 23:59:42 +09:00
James Tanner
dc4d589ce0 Fixes #4767 detect hard links and set state in add_file_info 2013-11-01 09:41:22 -04:00
James Tanner
f4b59fe285 Fixes #4516 file module: check prev_state earlier and use that if state is not specified 2013-11-01 09:31:32 -04:00
Michael DeHaan
d478eaa6a5 Merge pull request #4761 from truedays/devel
minor correction
2013-10-31 17:41:20 -07:00
Ray
b5266a562d minor correction
Same doc-typo (confirmed) as https://github.com/ansible/ansible/pull/4759

--remote-user  *should be*  --user
2013-10-31 19:29:46 -05:00
Michael DeHaan
337b6ce642 Fix documentation formatting. 2013-10-31 20:00:11 -04:00
Michael DeHaan
b1b5280075 Reapply pep8 changes from previous revert. 2013-10-31 19:47:44 -04:00
Michael DeHaan
01ba1e9297 Merge pull request #4759 from truedays/devel
minor doc correction
2013-10-31 16:40:15 -07:00
Michael DeHaan
51fbc6d20a Further simplify the debug: var=foo action plugin code. 2013-10-31 19:39:32 -04:00
Michael DeHaan
bbf212a268 Simplify the way the debug: var=varname plugin works. 2013-10-31 19:35:50 -04:00
Michael DeHaan
a078184ae8 add to changelog 2013-10-31 19:25:16 -04:00
Michael DeHaan
7f125567cb Some simplification of include_vars and renamed include_files to include_vars. 2013-10-31 19:24:35 -04:00
Michael DeHaan
b69ab89eb1 Merge branch 'include_files' of git://github.com/bennojoy/ansible into devel 2013-10-31 19:14:27 -04:00
Ray
a66f0462cd minor correction
--remote-user= does not work:
 ansible: error: no such option: --remote-user

--user= does. Updating docs
2013-10-31 17:56:52 -05:00
Michael DeHaan
187ebf2f56 Leverage 4318b27 and no longer treat instance tags as JSON, but as dictionary types which could be key=value or dicts or JSON or references. 2013-10-31 18:46:13 -04:00
Michael DeHaan
465f3b1c91 This allows type=dict in a module to allow passing in a real dict or JSON. 2013-10-31 18:46:13 -04:00
Michael DeHaan
b520902852 Merge pull request #4756 from mscherer/fix_4739
Fix accelerate module on centos 5 by removing
2013-10-31 15:21:51 -07:00
Michael DeHaan
6d16f85b30 Suggest keyscan for github/other SCM hanging. 2013-10-31 18:00:24 -04:00
Michael DeHaan
aae3a0ea8d Merge pull request #4740 from retr0h/return-server-object-not-list
Need to compare on server object not list
2013-10-31 14:51:08 -07:00
Michael DeHaan
3a0d67024c Merge pull request #4736 from dmkoch/assemble-temp-file-cleanup
Clean up temp file left behind by assemble module
2013-10-31 14:50:28 -07:00
Michael DeHaan
3705f41992 Merge pull request #4754 from mscherer/fix_4648
Fix 4648, cron module is not working on solaris
2013-10-31 14:49:25 -07:00
Michael DeHaan
8b2cd6413b When inside an apt or yum task account for multiple conditionals. Fixes 4745. 2013-10-31 17:19:58 -04:00
Michael DeHaan
d34a26e307 Undo an inadvertant revert from template changes so we still allow pythonic imports in module land. 2013-10-31 16:53:05 -04:00
Michael Scherer
8efe53eebb Fix accelerate module on centos 5 by removing
unsupported string prefix in 2.4

http://docs.python.org/release/2.4/ref/strings.html
This is also ignored on later version of python 2
and is present only for python 3 conversion, as seen
on http://docs.python.org/2/reference/lexical_analysis.html#string-literals

Also see http://stackoverflow.com/questions/6269765/what-does-the-b-character-do-in-front-of-a-string-literal

Fix https://github.com/ansible/ansible/issues/4739
2013-10-31 21:04:34 +01:00
Michael Scherer
9e7b02aaee make cron module work on solaris
Cron on solaris do not take the same
set of option than vixie cron on linux, and
among the biggest difference, root cannot set
the crontab of a user directly from a file. Thus the
use of su to run the crontab command. Fix issue #4648
2013-10-31 19:58:26 +01:00