Commit graph

49634 commits

Author SHA1 Message Date
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)
2012-03-18 17:53:58 -04:00
Michael DeHaan
fde7de80df Remove "import *" from bin/ansible so we can use pyflakes, and remove unneeded imports in the process 2012-03-18 17:41:44 -04:00
Michael DeHaan
faa59e5ef1 Add the failtest module, primarily for easy development testing purposes. RPMs/etc need not ship this. 2012-03-18 17:35:49 -04:00
Michael DeHaan
a4b8cdf8b3 Remove "import *"'s from bin/ansible-playbook code so pyflakes will be usable. 2012-03-18 17:32:36 -04:00
Michael DeHaan
9e07b24239 Fix indentation 2012-03-18 17:25:22 -04:00
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.
2012-03-18 17:24:09 -04:00
Michael DeHaan
c861e0de55 Fix "import *" and resultant new things detectable from "make pyflakes" 2012-03-18 17:16:12 -04:00
Michael DeHaan
33aa50eae7 Inside of runner, do not 'import *' from utils, so we can more easily tell where functions come from 2012-03-18 17:04:07 -04:00
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.
2012-03-18 16:58:00 -04:00
Michael DeHaan
57dec507f0 List less alternative apps 2012-03-18 13:17:25 -04:00
Michael DeHaan
29293ba51d Rename 'design goals' to 'features' 2012-03-18 13:08:45 -04:00
Michael DeHaan
cd06703fa2 Clarify some things on index page 2012-03-18 13:03:45 -04:00
Michael DeHaan
00bf6f1ebf Mention other distributions. 2012-03-18 12:55:18 -04:00
Michael DeHaan
f29db92052 more complete from checkout docs 2012-03-18 12:45:23 -04:00
Michael DeHaan
3f75fd575c Show how easy it is to run from checkout. 2012-03-18 12:41:00 -04:00
Michael DeHaan
82bd75c1e0 Update env-setup script to make it work better 2012-03-18 12:28:22 -04:00
Michael DeHaan
f1c8fc63cb host file must be marked config(noreplace), update rpm build to use checked in manpage src 2012-03-31 11:08:42 -04:00
Michael DeHaan
5905974737 Fix variable referenced before assignment when not using external variables script 2012-03-31 11:03:29 -04:00
Michael DeHaan
3495d402c7 Default for class variable 2012-03-31 11:02:10 -04:00
Michael DeHaan
b8eeb0f906 Add note about localhost/auth 2012-03-30 19:58:28 -04:00
Michael DeHaan
3d2a7ebd68 Added cobbler external inventory script, which is a demo of how external inventory
works in Ansible in general.
2012-03-30 19:56:22 -04:00
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.
2012-03-30 19:06:14 -04:00
Michael DeHaan
c81aed412a Fix rst syntax errors 2012-03-17 17:16:31 -04:00
Michael DeHaan
bedde394fc Tell folks about packaged releases, but encourage usage of git. 2012-03-17 17:00:41 -04:00
Michael DeHaan
e12e724a42 Fix error on examples page 2012-03-31 11:19:35 -04:00
Michael DeHaan
12c3e04023 Fix reference 2012-03-31 10:51:48 -04:00
Michael DeHaan
f535335fe0 Add shell module to examples page. 2012-03-31 10:50:47 -04:00
Michael DeHaan
15acaec687 Crossref playbooks from async poll section 2012-03-31 10:41:29 -04:00
Michael DeHaan
f708b75d41 Fix formatting 2012-03-31 10:40:01 -04:00
Michael DeHaan
1a926c69a1 Added some foreshadowing of CLI syntax to the patterns page. 2012-03-31 10:38:24 -04:00
Michael DeHaan
7a8397d60f link module dev guide from modules page 2012-03-31 10:21:28 -04:00
Michael DeHaan
bbc2aca10f Make additional reference to playbooks examples dir 2012-03-31 10:17:35 -04:00
Michael DeHaan
a4c23463fb Add IRC and google groups links to each page 2012-03-31 09:55:37 -04:00
Michael DeHaan
31c353543c Reinstate page nav, various TOC structure cleanup 2012-03-31 09:36:37 -04:00
Michael DeHaan
3a1bbac3a7 Move see also blocks to bottom of each page to include reading docs, remove 'fork me' to avoid text overlap,
simply menu nav so folks find the chapter link.
2012-03-31 09:29:31 -04:00
Michael DeHaan
39d02eeff4 Add external inventory script info (and Cobbler example) to API page. 2012-03-30 22:28:30 -04:00
Michael DeHaan
f200a467e7 Update example to use correct state name 2012-03-15 23:11:09 -04:00
Michael DeHaan
f39944b89b Update example to use correct service state; minor pep8 indent/spacing fixes 2012-03-15 23:10:03 -04:00
Michael DeHaan
24923c2e17 Purge unused imports per pyflakes 2012-03-15 23:06:59 -04:00
Michael DeHaan
60bf82d266 Remove comment about FIXME that is already resolved 2012-03-15 23:05:34 -04:00
Michael DeHaan
d78817c426 Add file features to examples. 2012-03-15 22:57:10 -04:00
Michael DeHaan
0674c31dbc Added documentation on the 'file' module and how 'copy' and 'template' can also use the options that 'file'
provides.
2012-03-15 22:47:21 -04:00
Michael DeHaan
311b93995c Add some comments 2012-03-15 22:37:37 -04:00
Michael DeHaan
6874d853c9 Fix changed=True/False detection when specifying mode= 2012-03-15 22:35:59 -04:00
Michael DeHaan
63818000b4 auto call the file module after copy/template module usage in runner
note some changed=True/False detection bits in file module still need tweaking
2012-03-15 22:32:14 -04:00
Michael DeHaan
4ad885111b Disable debug 2012-03-15 22:04:32 -04:00
Michael DeHaan
5004d21f10 Return file info about the file regardless of changes made 2012-03-15 22:04:04 -04:00
Michael DeHaan
be55145a1e Initial crack at the file module 2012-03-15 21:53:14 -04:00
Michael DeHaan
8914a1a0d7 license file should be in source tree 2012-03-15 20:24:22 -04:00
Michael DeHaan
9049b0e7ca Because folks on RHEL 6 (not CentOS 6) have some issues with asciidoc, do not build the asciidoc from
the rpm or make install targets.  Also modify the make install (only) to copy over files into the library
directory since the setup.py does not do this (due to a distutils bug, more or less).
2012-03-15 20:21:10 -04:00