Commit Graph

50410 Commits (505df0d56496f5483a5ef8ccd1e366c30eb93bb7)
 

Author SHA1 Message Date
Michael DeHaan ee2622ee7c Show how to save conditional predicates in vars sections, which makes only_if cleaner. 13 years ago
Michael DeHaan d75e69853a No need to comment this part of the example out. 13 years ago
Michael DeHaan e6406fa5a7 Allow variable expressions to be stored as variables themselves, do some things to allow setup strings
to more easily contain spaces without being mangled, which is neccessary because of the above.
13 years ago
Michael DeHaan e89131a3a2 playbooks -- Ratchet up logging prior to gating things with verbosity controls and upgrading output format 13 years ago
Michael DeHaan a5f4ca50b8 Ratchet up logging a few notches prior to controlling w/ verbosity settings 13 years ago
Michael DeHaan b5c62ec068 Enhance logging, way to gate verbosity levels pending. 13 years ago
Michael DeHaan 7136ef756d Fix formatting error 13 years ago
Michael DeHaan 05e27a419c HTML doesn't work like that on that page :) 13 years ago
Michael DeHaan d2141feada Add subscribe link to markdown index 13 years ago
Michael DeHaan 0a20e65f92 Add subscribe link to main page 13 years ago
Michael DeHaan a045630c02 Add docs on only_if 13 years ago
Michael DeHaan 54b98effdf Add demonstration of only_if capability 13 years ago
Michael DeHaan dfbe591cc0 Add "only_if" capability, which allows task steps to be skipped if they do not match a conditional. 13 years ago
Michael DeHaan a98e0a8cc4 quoting 13 years ago
Michael DeHaan 149cc57b0f remove unneeded code 13 years ago
Michael DeHaan 6b8f5224b8 Added docs on conditional import usage 13 years ago
Michael DeHaan c05e7fd83e Fix typing issue 13 years ago
Michael DeHaan 64471db94a Remove test from bottom of example that doesn't really make sense in the context of the example's use case. 13 years ago
Michael DeHaan 4de7bbb169 Allow conditional imports, see examples/playbook3.yml comments for a full explanation. Extensive
refactoring of playbooks now warranted, which we'll do before we move on.   This variable assignment
system makes nearly all possible magic possible, for we can use these variables however we like,
even as module names!
13 years ago
Michael DeHaan 5ed2b894d9 Add an additional way to dereference a variable in a playbook, $foo
(Using varReplace function originally from yum, thanks Seth)
13 years ago
Michael DeHaan af9596307d Move templating into a utils function. Reuse is our friend. 13 years ago
Michael DeHaan 860fe50048 Fix grammatical error. 13 years ago
Michael DeHaan c1fe0dd719 Quote long variables in playbooks when feeding them to the setup command 13 years ago
Michael DeHaan 5371a9e497 Regression tests for playbooks, logging the events they call via callbacks. 13 years ago
Michael DeHaan b15c8e9cb1 Playbook test upgrades, made some notes about callbacks we need to add. Still need to compare events
recieved vs expected so we can be notified if this test breaks, and also to add some more detailed
playbooks that use includes & async, etc.
13 years ago
Michael DeHaan 45abe3c16b Add unit tests for playbooks, and fix an error caught by one 13 years ago
Michael DeHaan 9c5ec886a6 Import cleanup, plus have /bin/ansible remind you if no hosts were matched by a pattern (for instance, assume
there was a typo in the pattern)
13 years ago
Michael DeHaan fde7de80df Remove "import *" from bin/ansible so we can use pyflakes, and remove unneeded imports in the process 13 years ago
Michael DeHaan faa59e5ef1 Add the failtest module, primarily for easy development testing purposes. RPMs/etc need not ship this. 13 years ago
Michael DeHaan a4b8cdf8b3 Remove "import *"'s from bin/ansible-playbook code so pyflakes will be usable. 13 years ago
Michael DeHaan 9e07b24239 Fix indentation 13 years ago
Michael DeHaan 6777268f4c Fixup the code that allows facter/ohai/other data to bubble up and be used in future action lines. It's a niche
case compared to usage in templates but it should work and will be wanted later for conditional support.
13 years ago
Michael DeHaan c861e0de55 Fix "import *" and resultant new things detectable from "make pyflakes" 13 years ago
Michael DeHaan 33aa50eae7 Inside of runner, do not 'import *' from utils, so we can more easily tell where functions come from 13 years ago
Michael DeHaan 9837a616eb Preserve changed data on file and template ops when the mode operations don't result in a change but the files
were still replaced.
13 years ago
Michael DeHaan 57dec507f0 List less alternative apps 13 years ago
Michael DeHaan 29293ba51d Rename 'design goals' to 'features' 13 years ago
Michael DeHaan cd06703fa2 Clarify some things on index page 13 years ago
Michael DeHaan 00bf6f1ebf Mention other distributions. 13 years ago
Michael DeHaan f29db92052 more complete from checkout docs 13 years ago
Michael DeHaan 3f75fd575c Show how easy it is to run from checkout. 13 years ago
Michael DeHaan 82bd75c1e0 Update env-setup script to make it work better 13 years ago
Michael DeHaan f1c8fc63cb host file must be marked config(noreplace), update rpm build to use checked in manpage src 13 years ago
Michael DeHaan 5905974737 Fix variable referenced before assignment when not using external variables script 13 years ago
Michael DeHaan 3495d402c7 Default for class variable 13 years ago
Michael DeHaan b8eeb0f906 Add note about localhost/auth 13 years ago
Michael DeHaan 3d2a7ebd68 Added cobbler external inventory script, which is a demo of how external inventory
works in Ansible in general.
13 years ago
Michael DeHaan 9f6d98844e If the inventory file is EXECUTABLE, treat it as a file returning JSON, if called directly, return the host
and groups list.  If called with an argument of a host name, return the key=value data for that particular
host.
13 years ago
Michael DeHaan c81aed412a Fix rst syntax errors 13 years ago
Michael DeHaan bedde394fc Tell folks about packaged releases, but encourage usage of git. 13 years ago