Michael DeHaan
6a7aac38c5
misc cleanup in the runner module, splitting some things out into utils, breaking up functions into smaller functions.
13 years ago
Michael DeHaan
fef73393f0
rename example files
13 years ago
Michael DeHaan
7ed734dfb2
move callbacks to seperate file, anticipating callbacks for Runner() as well
13 years ago
Michael DeHaan
7883f414ce
unused module
13 years ago
Michael DeHaan
315a6358b4
Mention variable for context
13 years ago
Michael DeHaan
9951888af3
Docs build
13 years ago
Michael DeHaan
96357407e0
Make chat a web link.
13 years ago
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