Commit Graph

12346 Commits (79f41d9c1a32d7b6b655a81ed3856f7fcf918145)
 

Author SHA1 Message Date
Michael DeHaan 79f41d9c1a This makes the module args parser more functional to eliminate side effects and eliminiates the 'return None' error path
to make sure we are handling more use cases.  Some paths are not yet complete, including most likely handling of the 'raw'
module.
10 years ago
Michael DeHaan 56b6cb5328 Teaching objects to load themselves, making the JSON/YAML parsing ambidexterous. 10 years ago
Toshio Kuratomi c75aeca435 Merge removal of complex_args_hack 10 years ago
Toshio Kuratomi a10d10f647 Workaround more python-2.6 shlex not being able to handle unicode strings 10 years ago
James Cammarata 625e2c834e Merge pull request #9288 from leucos/devel
Fixes Arch PKGBUILD
10 years ago
James Cammarata ad893ea867 Merge pull request #9286 from damncabbage/9008-undef-var-in-list
Makes listify_lookup_plugin_terms respect the global setting for undefined variables.
10 years ago
Toshio Kuratomi a6029264b8 remove complex_args_hack as it was only needed for Baby JSON 10 years ago
James Cammarata c83a833740 New v2 ModuleArgsParser code and fixing up tests/other task code 10 years ago
Michel Blanc ce58706dd0 Fixes Arch PKGBUILD
Build was failing with new Ansible submodule setup for core and extras
modules.
Integrated fix from @firecat53
Added @firecat53 to contributors.
10 years ago
Rob Howard 2769098fe7 Make listify respect the global setting for undefined variables.
(Fixes #9008.)

With credit to jimi-c for the initial pass in this commit:
b18bd6b98e
10 years ago
James Cammarata bbd9921dbd Adding a negative test for new safe_load 10 years ago
Michael DeHaan 4cb7f654b6 Add stub tests for module args parsing. 10 years ago
James Cammarata 93e273333d Adding tests for new yaml parsing stuff and adjusting imports 10 years ago
James Cammarata 8ab0749217 Adding new yaml parsing classes 10 years ago
Michael DeHaan ad9ab8e033 Stub class for mod arg parsing tests. 10 years ago
Michael DeHaan 21642c0fbf We need module args specific parsing classes. 10 years ago
James Cammarata 83d75bcf59 Merge pull request #9276 from CaptTofu/bug/module_doc_fix
Small fix for issue #9275
10 years ago
James Cammarata c646225ed1 Merge pull request #9267 from lorin/link-typo
Documentation typo: ansible-module[s]-extras
10 years ago
Michael DeHaan 05231dcde6 Move over some of the parsing functions that we need. 10 years ago
Michael DeHaan e8aa847e5b Attempt to clean up the munging functions a little. 10 years ago
Michael DeHaan d97b38ba83 Attribute defaults and optional accessors. 10 years ago
Michael DeHaan e66a0096a7 Work in progress on task loading. 10 years ago
Michael DeHaan 1556b0384f Add submodule references since v2 development will need them, the tree obviously does
not need two copies.
10 years ago
Michael DeHaan f066e361f1 WIP on data structure processing patterns. 10 years ago
James Cammarata f3714c88a6 Revert "atfork import warning should be suppressed when system_warnings = False"
This reverts commit a175168686.
10 years ago
James Cammarata 12d5b75a43 Template play vars after reading them
Fixes #9242
10 years ago
CaptTofu 83457e147c Small fix for issue #9275 10 years ago
James Cammarata 05644686de Fix bug in plugin path caching
Fixes #9263
10 years ago
Lorin Hochstein e26ed64ad8 Documentation typo: ansible-module[s]-extras
Typo: ansible-module-extras -> ansible-modules-extras in a link to this
repository.
10 years ago
Michael DeHaan 8cecb0690f Update base.py
updated with some notes
10 years ago
Michael DeHaan 94db7365b9 __getattr__ to hide some of the attribute magic. 10 years ago
Bruce Pennypacker a175168686 atfork import warning should be suppressed when system_warnings = False
Fixes #9247
10 years ago
Michael DeHaan b54434c1b2 WIP on Attributes. Getting closer. 10 years ago
Michael DeHaan b02afa2268 Update submodule reference 10 years ago
Michael DeHaan 6db1b4dfd2 WIP on refactoring changes 10 years ago
Michael DeHaan b9223e5995 Add attribute starter notes 10 years ago
Michael DeHaan 335221d79e This is an exceedingly rough sketch of what attributes might look like - metaclass implementations NOT complete. 10 years ago
James Cammarata 0c40c6c23c Fix order of resolving dependent role variables from vars files
Also adds a new class to the test_var_precedence test to check for
this type of error in the future.

Fixes #9178
10 years ago
Michael DeHaan 402d0c37b8 Submodule update 10 years ago
Michael DeHaan b4657234d2 Refresh submodule pointers. 10 years ago
Michael DeHaan fa81680d9b Fix docstring. 10 years ago
Michael DeHaan 4e4308b8e1 Merge branch 'refactor_pass' into devel 10 years ago
Michael DeHaan ff87ac08a7 An attempt at modularization prior to moving things towards BaseObject and considering Attributes. 10 years ago
Michael DeHaan e24825cb58 Merge pull request #9237 from jkleckner/add-limit-from-file-doc
Add doc of @filename in intro_patterns.rst
10 years ago
Michael DeHaan 2ee049992b Merge pull request #9239 from direvus/grammar-its
Fix several it's/its errors in the documentation.
10 years ago
Michael DeHaan a8a4347d5b Merge pull request #9250 from i5513/patch-2
Add readlink filter doc
10 years ago
Michael DeHaan 5e21ebb2a8 Merge pull request #9252 from kim0/patch-1
Add one line example for looking up through etcd
10 years ago
James Cammarata cae88ca12f Initial work to refactor Task 10 years ago
Toshio Kuratomi cef2a8795f Make dynamic inventory return byte str, not unicode 10 years ago
Ahmed Kamal 48ee191379 Add one line example for looking up through etcd 10 years ago