Commit graph

41447 commits

Author SHA1 Message Date
Tim Bielawa
dfd2c6dce3 Implement friendlier error handling.
Generic AnsibleError exception + host inventory missing exception.
First shot at catching these in a generic way in bin/ansible*.
2012-03-12 23:11:54 -04:00
Michael DeHaan
ce85222fa6 What we are running is actually a "play" (multiple plays per playbook) so rename the function to make it more clear 2012-03-12 22:05:51 -04:00
Michael DeHaan
adf1492da2 Add external vars example 2012-03-12 22:03:20 -04:00
Michael DeHaan
e582bd5ec5 Add fire and forget example 2012-03-12 21:02:38 -04:00
Michael DeHaan
86e19cd8c8 This adds async poll support to playbooks. See examples. Some more testing due + docs
but this is more or less a mirror of what /bin/ansible does.  It also has a 'fire and
forget' mode if the poll interval is left off or set to 0.
2012-03-12 20:53:10 -04:00
Michael DeHaan
32484f2156 Merge pull request #90 from skvidal/feature
yum module
2012-03-12 16:27:20 -07:00
Michael DeHaan
cf4ac3b6b2 Add yum latest to docs and examples 2012-03-12 19:23:58 -04:00
Michael DeHaan
3f834cfe3e Docs rebuild, removing submodule because it was causing build problems and I don't quite grok them :) 2012-03-12 19:13:19 -04:00
Seth Vidal
0b94c78042 yum module
add state=latest and clean up the output cases
added some fixmes on verification
2012-03-12 16:31:13 -04:00
Michael DeHaan
884d8af759 Attempt to force docs rebuild? Please? 2012-03-11 23:28:04 -04:00
Michael DeHaan
4a184b57c8 Docs build 2012-03-11 23:20:55 -04:00
Michael DeHaan
6660a5efbd add polling info to manpage 2012-03-11 21:09:44 -04:00
Michael DeHaan
db7ba87111 Add polling logic in runner such that all actions get kicked off everywhere then polling
happens only on needed hosts, allowing some hosts to fail and drop out of the running.
2012-03-11 20:54:54 -04:00
Michael DeHaan
49a636d8a0 Fixed up async and polling logic. 2012-03-11 19:27:43 -04:00
Michael DeHaan
5be1a612d3 Add async polling logic to runner. Will add to playbook shortly, have to diagnose why paramiko
is not letting async_wrapper daemonize itself when it does work fine when directly executed.
2012-03-11 18:40:35 -04:00
Michael DeHaan
d5c239404b Update .gitignore 2012-03-11 04:23:00 -04:00
Michael DeHaan
e5386b82c6 Put index.html back in git, problem with staleness was related to .buildinfo, not git. 2012-03-11 04:21:53 -04:00
Michael DeHaan
e3adca1431 Makefile needs to clean things up 2012-03-11 04:21:19 -04:00
Michael DeHaan
f7ff5d1055 Doc build 2012-03-11 21:53:13 -04:00
Michael DeHaan
4cc8fe7561 Split paragraph 2012-03-11 21:53:00 -04:00
Michael DeHaan
91d8d0e502 update faq 2012-03-11 21:47:57 -04:00
Michael DeHaan
e726b9796d Fix some example command line options, add some more links to home page. 2012-03-11 21:46:05 -04:00
Michael DeHaan
817cac7954 Add missing "-a" to examples page 2012-03-11 21:20:30 -04:00
Michael DeHaan
0bccec9fb5 Add polling info to docs 2012-03-11 21:09:21 -04:00
Michael DeHaan
d3fe5f617a Rename 'yamlscripts' to 'yamlsyntax', add some extra crosslinking to make sure folks find the
interesting docs pages, some misc editing here and there.
2012-03-11 15:34:21 -04:00
Michael DeHaan
02549869b1 Attempt to force update 2012-03-11 15:04:08 -04:00
Michael DeHaan
0404acfcc2 Move all html content on the website to build top level such that we do not need the redirect. 2012-03-10 22:34:53 -05:00
Michael DeHaan
60a13cf540 Ignore commented out lines in the ansible setup files. 2012-03-10 21:19:41 -05:00
Michael DeHaan
0035181c59 Remove URL target for clicking on arch diagram, add width/height so it loads
nicer.
2012-03-10 19:57:24 -05:00
Michael DeHaan
e284c8cedc Merge pull request #16 from tbielawa/master
Updates for better RPM packaging (plus tasks)
2012-03-10 16:51:34 -08:00
Michael DeHaan
667aa81bee Add arch diagram to website + docs build 2012-03-10 19:48:53 -05:00
Tim Bielawa
82befee081 Change Source0 in spec file to point at github downloads 2012-03-10 16:25:46 -05:00
Tim Bielawa
dce6074a81 Fixes for better RPM packaging
Spec file installs default example hosts files
Spec file marks the contents of /etc/ansible as %config(noreplace)

Example hosts file now with instructional comments
2012-03-10 16:19:33 -05:00
Tim Bielawa
3f245498c4 Fixup RPM building: Makefile, Spec File, .gitignore
Fixup distutils: setup.py

Clean old cruft: section 5 man pages
2012-03-10 14:22:11 -05:00
Michael DeHaan
4c9dd972b4 Fixes for output formatting 2012-03-10 13:40:08 -05:00
Michael DeHaan
bb5e4fad48 Abstracted out transport from implementation so it can be pluggable. Also fixes for output format. 2012-03-10 13:35:46 -05:00
Michael DeHaan
a13def0fbe Add yum module to examples + playbook examples 2012-03-10 11:40:49 -05:00
Michael DeHaan
8bf7e79ee3 Add yum to examples 2012-03-10 11:35:36 -05:00
Michael DeHaan
d397c13d9c Added "Fork Me On Github" 2012-03-10 10:39:34 -05:00
Michael DeHaan
8808c814ea Merge pull request #89 from skvidal/feature
touch up to yum module.
2012-03-10 05:40:24 -08:00
Seth Vidal
a99b491b32 touch up to yum module.
fix a couple of bugs
comment about state='latest'
2012-03-10 02:19:57 -05:00
Michael DeHaan
557f4d382b add links 2012-03-09 22:58:17 -05:00
Michael DeHaan
ff64996542 doc build 2012-03-09 22:49:40 -05:00
Michael DeHaan
88140938cb Fix heading 2012-03-09 22:49:30 -05:00
Michael DeHaan
4ecad80725 Add google stats 2012-03-09 22:31:54 -05:00
Michael DeHaan
10d197d77f Add missing files 2012-03-09 22:14:31 -05:00
Michael DeHaan
a631c21e5a Add ansible-playbook(1) manpage. 2012-03-09 22:11:41 -05:00
Michael DeHaan
209760f8f6 Add manpage for ansible-playbook, since it is a command. More detailed docs will remain on the web site. 2012-03-09 22:06:44 -05:00
Michael DeHaan
8e7ae6cf69 Minor reordering and linking some things up. 2012-03-09 21:50:00 -05:00
Michael DeHaan
37864337eb Added FAQ page (limited space in menu, so trimmed some topics on lesser used bits) + docs build 2012-03-09 21:41:18 -05:00