Commit graph

7078 commits

Author SHA1 Message Date
Michael DeHaan
fcc84a3daa Merge pull request #4294 from ferringb/fixes/constants
For defaults that are integers, enforce it for config supplied values.
2013-09-30 04:59:23 -07:00
Brian Harring
d0ad6c581b For defaults that are integers, enforce it for config supplied values.
If a user supplies a string in the config (rather than an int), the code
should fix that- or blow up immediately- rather than allowing that value to
work it's way down and break w/in the connection object; when that happens,
the actual error is opaque and requires pdb.set_trace() to run down.
2013-09-29 23:56:41 -04:00
Brian Harring
2174230315 USE subprocess.Popen API correctly.
When collecting stdout/stderr *and* feeding data into a Popen instance,
communicate() must be used to avoid a known deadlocking scenario
when data sizes cross PIPE_BUF (which can be as small as 512, although should
be much larger in practice on linux).
2013-09-29 23:22:09 -04:00
Michael DeHaan
7ecb2b6728 Reinstate missing dynamic inventory content. Edits pending. 2013-09-29 20:39:29 -04:00
Michael DeHaan
b64edfe791 "make webdocs" sphinx output is now clean. Edit passes and additional content in docs still pending. 2013-09-29 20:10:37 -04:00
Michael DeHaan
5d6deb68ae More work fixing doc links. 2013-09-29 20:09:30 -04:00
Michael DeHaan
df8b8fc4d6 Fixing some more doc links. Still not done. 2013-09-29 19:30:10 -04:00
Michael DeHaan
4a0e06dc80 Resolving some doc errors. 2013-09-29 19:16:59 -04:00
Michael DeHaan
71ddb80524 Tweaking doc titles. 2013-09-29 19:10:28 -04:00
Michael DeHaan
ad2736b253 Update tags and async sections, among other changes. 2013-09-29 19:03:51 -04:00
Michael DeHaan
c10904bcef Prompts chapter 2013-09-29 18:44:46 -04:00
Michael DeHaan
d494691398 Start of organizing variable section. This is all still in progress and not done, need to fix links between sections and re-add see-also sections, etc, etc. 2013-09-29 17:19:35 -04:00
Michael DeHaan
4cd3c5472f Refactor looping docs 2013-09-29 17:02:53 -04:00
Michael DeHaan
00c2c0b11c Conditionals chapter and some misc tweaks elsewhere 2013-09-29 16:47:34 -04:00
Michael DeHaan
ddf51154fd Delegation documentation split 2013-09-29 16:22:54 -04:00
Michael DeHaan
c4af4c65c3 Update check mode docs 2013-09-29 16:19:59 -04:00
Michael DeHaan
a0ec399f35 Consolidate docs on accelerated mode 2013-09-29 16:18:01 -04:00
Michael DeHaan
19ac7cfe2a Refactor the roles information and provide a good example of the case for using roles. 2013-09-29 16:11:36 -04:00
Michael DeHaan
102b745b31 Add lots of docs on configuration settings, explaining what goes into ansible.cfg 2013-09-29 15:51:26 -04:00
Michael DeHaan
70dc1ef4e4 Update the /usr/bin/ansible example docs 2013-09-29 14:54:53 -04:00
Michael DeHaan
e0ea3decae The patterns document is now it's own chapter since it applies to playbooks and /usr/bin/ansible alike. 2013-09-29 14:45:00 -04:00
Michael DeHaan
65a7ddc824 Organize dynamic inventory documentation. 2013-09-29 14:24:36 -04:00
Michael DeHaan
1e5edb2e0f Clean up inventory section. 2013-09-29 13:50:10 -04:00
Michael DeHaan
720abcb9ed Cleaunup to the getting started section. 2013-09-29 13:29:11 -04:00
Michael DeHaan
87702d50d8 Add missing file (stub) 2013-09-29 13:13:19 -04:00
Michael DeHaan
74e77bf1d8 Refactor install guide 2013-09-29 13:13:05 -04:00
Michael DeHaan
824a8b9136 Fix index formatting. 2013-09-29 12:39:09 -04:00
Michael DeHaan
759430d1e8 Add new topics to index 2013-09-29 12:36:02 -04:00
Michael DeHaan
858b6c4e64 Restructure the documentation index. 2013-09-29 12:12:31 -04:00
Ustun Ozgur
977b31249a Update cache check in find_plugin
I am not familiar with the internals, but this line looked suspicious.
2013-09-29 14:03:10 +03:00
Michael DeHaan
ef28d62846 Update TestUtils.py
tests shouldn't be making symlinks to system dirs, also fixes unit test report on OS X.
2013-09-28 11:01:21 -04:00
Michael DeHaan
05b3aaa39b Merge pull request #4280 from angstwad/devel
Use set_setting in rax.py inventory module
2013-09-27 20:19:43 -07:00
Paul Durivage
532c7db03b Update example to use RAX_CREDS_FILE env var 2013-09-27 15:51:07 -05:00
Paul Durivage
e366712aca Use set_setting; alleviates pyrax requiring the ~/pyrax.cfg in order to establish identity_type 2013-09-27 15:50:32 -05:00
Joshua Lund
20489f1346 * Updated SHA-256 functionality in the get_url module
(fixes issue #4277)

* The sha256sum error message now displays the invalid
  destination checksum if it doesn't match the one that
  is specified in the arguments. This is useful for
  debugging purposes.

* Non-alphanumeric characters, including the infamous
  Unicode zero-width space, are removed from the sha256sum
  argument prior to the check.
2013-09-27 14:37:21 -06:00
Julien Phalip
44aeea7afc In the script action: Get around a bug in that's been fixed in Python 2.7 but not Python 2.6.
See: http://bugs.python.org/issue6988
Fixes #4256.
2013-09-27 08:57:07 -07:00
James Cammarata
039d4c95d9 Merge pull request #4221 from ashorin/unicode-md5
Prevent UnicodeEncodeError: 'ascii' codec can't encode characters in pos...
2013-09-27 08:50:44 -07:00
Brian Coca
771435deb4 now ini vars are typed
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-09-26 18:29:17 -04:00
Skylar Saveland
b339485da8 add executable option to subversion module 2013-09-26 14:27:40 -07:00
Skylar Saveland
d8c61528db add executable option to hg, refactor in doing so 2013-09-26 14:27:16 -07:00
Skylar Saveland
c4947ebc7d add executable option to bzr module, refactor in doing so 2013-09-26 14:26:46 -07:00
Skylar Saveland
5243bd5fa3 executable option to git module 2013-09-26 14:15:28 -07:00
Jan Urbański
7fa92054fe The payment term param in the Linode module is an int. 2013-09-26 18:23:21 +02:00
James Martin
d5f20e6b21 Optionally display Skipping [host] messages. 2013-09-26 10:03:23 -04:00
bennojoy
482cb72128 role report fix 2013-09-26 19:20:14 +05:30
James Cammarata
0ee236bf57 Merge pull request #4257 from resmo/doc/changelog
changelog: be clear, host module is not related to ansible inventory
2013-09-26 00:51:58 -07:00
Rene Moser
1dc2582a2c be clear, host module is not related to ansible inventory 2013-09-26 09:42:58 +02:00
Matt Coddington
7f7116de3b commit 9db4f7a made a change that also needed to include this to retain correct legacy_playbook_variables behavior 2013-09-25 23:22:09 -04:00
Michael DeHaan
a002a24973 Merge pull request #4250 from bbhoss/devel
Allow storing input from user in a pause prompt
2013-09-25 16:19:43 -07:00
Preston Marshall
3ee7b177e8 Allow storing input from user in a pause prompt 2013-09-25 17:28:25 -05:00