Commit Graph

25 Commits (c119d54e4ac10a2f805a88c2f226ce8b4ed70b4e)

Author SHA1 Message Date
Brian Coca c119d54e4a
now get_url defaults to module temp dir (#36218)
* now get_url and other modules default to module temp dir

also fixed 'bare' exception

* allow modules to work with older versions

* updated docs per feedback
8 years ago
Dag Wieers fb18e27d87
assemble: PEP8 compliancy, pylint and docs (#30844)
This PR includes;
- PEP8 compliancy fixes
- pylint fixes
- Documentation updates
8 years ago
Toshio Kuratomi f203ca7907 Update metadata to 1.1 8 years ago
Abhijeet Kasurde bf54a0c3e5 Fix missing import and boilerplate
Added fix for missing imports and boilerplate in files modules,
also, removed get_exception calls to match 2.6> exception handling.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
8 years ago
pdasilva f8e47e2204 Changed assemble_from_fragments to use os.path.join (#24909)
Fixes #19437
9 years ago
Brian Coca 7b197d823e let user control "auto-de-vault" (#22739)
* added option to toggle off autodevaulting

* fixes per feedbazck
9 years ago
Toshio Kuratomi eb1214baad New metadata 1.0 (#22587)
Changes to the metadata format were approved here:
https://github.com/ansible/proposals/issues/54
* Update documentation to the new metadata format
* Changes to metadata-tool to account for new metadata
  * Add GPL license header
  * Add upgrade subcommand to upgrade metadata version
  * Change default metadata to the new format
  * Fix exclusion of non-modules from the metadata report
* Fix ansible-doc for new module metadata
* Exclude metadata version from ansible-doc output
* Fix website docs generation for the new metadata
* Update metadata schema in valiate-modules test
* Update the metadata in all modules to the new version
9 years ago
Tim Rupp c4d3bf3207 Adds path type and remove expanduser
Related to #12263, this patch removes the usage of expanduser
in favor of the path 'type' for the module options of src and
dest
9 years ago
Dag Wieers f824b2ce8d Avoid having module documentation links to itself (#21329)
* Avoid having module documentation links to itself

A lot of modules use M(own_module) in their documentation causing a link
in the documentation to itself.

* Make note more clear now
9 years ago
James Cammarata 8afa090417 Resolving differences in core modules post-merge 9 years ago
Toshio Kuratomi 7319104552 Refreshed metadata for core modules 9 years ago
Sam Doran 8f097580ec Change examples syntax on assemble module 9 years ago
Toshio Kuratomi 007b5f4c32 Fix assemble module for python3 9 years ago
Brian Coca 81e87cefd7 unsafe writes! (#4314)
* unsafe writes!

* moved unsafe_write docs and args to file common

* added unsafe_writes option handling
9 years ago
Brian Coca 73bc9fd0e0 Revert "Add prefixing and suffixing fuctionality to assemble"
This reverts commit 4c386dba56.
keeping in sync with main repo revert
9 years ago
Matthias Frey d5fc44610b Fixed error in assemble module when validation failed. (#3814)
Error was: TypeError: fail_json() takes exactly 1 argument (2 given)
9 years ago
Michael Scherer f7b29ba8fd Convert the whole files/ directory to py3 syntax (#3685) 9 years ago
Bence Nagy 0fd89cfd44 Add prefixing and suffixing fuctionality to assemble 9 years ago
Brian Coca 90650256ef fixed exit json 9 years ago
Brian Coca 9084e31979 fixes to assemble
now uses atomic move to avoid data corruption
correclty cleans up temp files in every case
returns backup_file info if needed
validate validate before temp file gets created
backup AFTER validate
9 years ago
Matthias Frey 2ed50d5e5b assemble: add file validation support. 9 years ago
Brian Coca f8f4a7dcdf added ignore hidden to assemble 9 years ago
Greg DeKoenigsberg eb881d7d5d Proper author info for all remaining modules 9 years ago
Toshio Kuratomi 34d65647bf Move from md5 to sha1 to work on FIPS-140 enabled systems 9 years ago
Michael DeHaan 213e518165 file extensions! 9 years ago