Commit Graph

21 Commits (9b286b17756f433786915bb17412f2335565edd1)

Author SHA1 Message Date
James Cammarata aa67bb43fe Adding 'end_play' docs to meta module 2016-12-08 11:24:57 -05:00
Brian Coca 1160c79671 added meta as 'documentation' 2016-12-08 11:24:50 -05:00
Brian Coca d579dab0a0 deprecated accelerate 2016-12-08 11:24:45 -05:00
Dag Wieers 6bcf88ef54 Adapt module to use new module._name property (#3918)
This is in line with the change from ansible/ansible#16087
2016-12-08 11:24:36 -05:00
Mike Mars eb4813f1ca a) fail_json uses kwargs, b) outside the fork, log instead of returning json on stdout. 2016-12-08 11:24:35 -05:00
Mike Mars 1426a99cc0 data type fix on format string 2016-12-08 11:24:35 -05:00
Mike Mars a406ec30df corrected the string formatting (format isn't in 2.4 and even in some later versions of python 2.x requires an index). Tested for both compile ***& runtime exceptions*** against 2.4, 2.6, and 3.5. 2016-12-08 11:24:35 -05:00
Mike Mars 097f57d327 Missed umask octal conversion. 2016-12-08 11:24:35 -05:00
Mike Mars f592e92177 Corrected string of text... 2016-12-08 11:24:35 -05:00
Mike Mars 7af767f435 1) Modified error handling to work with Python 2.4. 2) Fixed octal codes to fall in line with the ansible guide, "Porting Modules to Python 3" 3) updated the requirements. All changes have been verified against Python 2.4, 2.6, & 3.5. 2016-12-08 11:24:35 -05:00
Mike Mars b30f6e02f6 Fixing compile time errors irt exception handling for Python 3. This particular diff fixes problems with Exception handling and the use/misues IRT Python 3 of octal numbers (InvalidToken exceptions). 2016-12-08 11:24:35 -05:00
Geoff Wright 7b93cd7db2 Fixes: #3232. Use of datetime consistent with module_utils/basic.py 2016-12-08 11:24:12 -05:00
Toshio Kuratomi 65a96f5a5d Re-add version_added to fireball docs 2016-12-08 11:24:03 -05:00
Toshio Kuratomi 288b26a732 Fireball was removed in 2.0 (action plugin is gone).
This commit removes the helper module that wouldn't work without the
action module and tells users what to use instead.
2016-12-08 11:24:03 -05:00
James Cammarata 395253c581 A few bug fixes and tweaks for the accelerate module 2016-12-08 11:23:38 -05:00
Toshio Kuratomi e7d9d86ec9 No longer check for tmp_path being sent as we don't use it here anyway 2016-12-08 11:23:37 -05:00
Greg DeKoenigsberg eb881d7d5d Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
Brian Coca 18e16a16b7 fixed try/except/finally to be 2.4 compatible 2016-12-08 11:22:59 -05:00
Toshio Kuratomi 5336217649 Several cleanups to many modules:
* Fix docs to specify when python2.6+ is required (due to a library
  dep).  This helps us know when it is okay to use python2.6+ syntax in
  the file.
* remove BabyJson returns.  See #1211  This commit fixes all but the
  openstack modules.
* Use if __name__ == '__main__' to only run the main part of the module
  if the module is run as a program.  This allows for the potential to
  unittest the code later.
2016-12-08 11:22:58 -05:00
Brian Coca a091d8c59a added missing init.py for utilities modules 2016-12-08 11:22:25 -05:00
Michael DeHaan 677ed39cb4 Renames. 2016-12-08 11:22:25 -05:00