Commit Graph

7294 Commits (3722bebb1d81864b481aa4626ced6df205829f33)
 

Author SHA1 Message Date
Michael DeHaan d78817c426 Add file features to examples. 13 years ago
Michael DeHaan 0674c31dbc Added documentation on the 'file' module and how 'copy' and 'template' can also use the options that 'file'
provides.
13 years ago
Michael DeHaan 311b93995c Add some comments 13 years ago
Michael DeHaan 6874d853c9 Fix changed=True/False detection when specifying mode= 13 years ago
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
13 years ago
Michael DeHaan 4ad885111b Disable debug 13 years ago
Michael DeHaan 5004d21f10 Return file info about the file regardless of changes made 13 years ago
Michael DeHaan be55145a1e Initial crack at the file module 13 years ago
Michael DeHaan 8914a1a0d7 license file should be in source tree 13 years ago
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).
13 years ago
Michael DeHaan e0bc949219 Fix doc indent level 13 years ago
Michael DeHaan ea8770ad54 Fix pathing in example 13 years ago
Michael DeHaan 0427ec8ad6 Add missing file 13 years ago
Michael DeHaan 1a0672fd1e Fix exception type 13 years ago
Michael DeHaan c909b66864 use iteritems vs items(), probably doesn't matter that much 13 years ago
Michael DeHaan a735dd2b17 Added the 'test-module' script, useful for testing modules without running them in Ansible. 13 years ago
Michael DeHaan 4bde4926c3 Modules don't have to return JSON, key=value pairs is ok. 13 years ago
Michael DeHaan 40fd778e2c 'shell' is a magic module that executes the command module with shell=True 13 years ago
Michael DeHaan 73d20b81c6 Add basic test of yum module (VERY basic) just to make sure syntax remains ok. Need to do something
trivial for service and git module also.
13 years ago
Michael DeHaan e8751baaf3 Remove remote log function as it's only used in one place now 13 years ago
Michael DeHaan 696b67f935 Fix async to use the new argfiles method (wrapping brain around rock, really must write module development guide) 13 years ago
Michael DeHaan aeea46678d Fix the copy module to use the argsfile method 13 years ago
Michael DeHaan 917f929e86 Fix template module 13 years ago
Michael DeHaan 6b152c94b9 Correct the setup module 13 years ago
Michael DeHaan 3ea9174ed7 Split argsfile handling into subfunction, attempt to apply argsfile logic to setup 13 years ago
Seth Vidal 1f53c89b14 convert so they handle argsfiles rather than arguments 13 years ago
Seth Vidal a9a9e3af65 modify yum to be used with argsfile and fix a number of items with
how it handles "advanced" pkgspecs for the state= cases
13 years ago
Seth Vidal a9948f97c6 convert runner to use an args file rather than just arguments passed
on the command line
13 years ago
Michael DeHaan d9c626e686 Added start of a module development guide, prob needs some editing and maybe some simpler examples 13 years ago
Michael DeHaan 505d3942b0 Added documentation on the 'shell' module, which is a virtual module and isn't really in the library folder.
Docs build.
13 years ago
Michael DeHaan f681425453 Rename hosts file back since included by MANIFEST.in 13 years ago
Michael DeHaan 38e8771785 update docs, fix playbook page formatting 13 years ago
Michael DeHaan ee69bd18cc Add -T to playbook manpage 13 years ago
Michael DeHaan db61e8f346 Fix -t tree mode so it writes out the value for each host, not everything, once again 13 years ago
Michael DeHaan e6f175e929 Allow the SSH timeout to be passed to playbooks just like it already could with /usr/bin/ansible 13 years ago
Michael DeHaan e3b4981feb Various additions to make sure timed out and failed hosts are taken out of the playbook even if failed
during setup, async tasks, or poll operations.  This introduced some redundancy so I've made some
notes in the code where things need to be refactored to remove them.
13 years ago
Michael DeHaan 4ae98ed92d Upgrades to error handling, now general try/catch available. 13 years ago
Michael DeHaan 496686629a Slight tweaks to playbook docs + docs rebuild 13 years ago
Michael DeHaan 2e1b59a9d2 restructure the examples directory 13 years ago
Michael DeHaan 09a7119e74 Annotate more files, fix missing imports messing with playbooks. Hey Tim, please test your stuff :) 13 years ago
Michael DeHaan 238fffd6ef Annotated playbook example 13 years ago
Michael DeHaan 84c60c2750 Merge pull request #91 from skvidal/feature
modify build/spec file to work on el6 with quasi-broken setup process
13 years ago
Michael DeHaan 8df0c92f3c Merge pull request #28 from tbielawa/DieGracefully
Die gracefully...
13 years ago
Seth Vidal 3567237dbc modify build/spec file to work on el6 with quasi-broken setup process
remove data_files section from setup.py for some reason or another
13 years ago
Michael DeHaan 8484fe3147 Clarify YAML doesn't always use a list as external variables files are hashes. 13 years ago
Michael DeHaan 0b94d3d3f8 replace 'foo' with a more meaningful example + 1 other typo 13 years ago
Michael DeHaan 37adadcc50 Updating docs, added extensive info on playbook async + external vars_files for keeping variables outside of
the playbook file.
13 years ago
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*.
13 years ago
Michael DeHaan ce85222fa6 What we are running is actually a "play" (multiple plays per playbook) so rename the function to make it more clear 13 years ago
Michael DeHaan adf1492da2 Add external vars example 13 years ago