1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/cli
Brian Coca ebd08d2a01 jsonify inventory (#32990)
* jsonify inventory
* smarter import, dont pass kwargs where not needed
* added datetime
* Eventual plan for json utilities to migrate to common/json_utils when we split
  basic.py no need to move jsonify to another file now as we'll do that later.
* json_dict_bytes_to_unicode and json_dict_unicode_to_bytes will also
  change names and move to common/text.py at that time (not to json).
  Their purpose is to recursively change the elements of a container
  (dict, list, set, tuple) into text or bytes, not to json encode or
  decode (they could be a generic precursor to that but are not limited
  to that.)
* Reimplement the private _SetEncoder which changes sets and datetimes
  into objects that are json serializable into a private function
  instead.  Functions are more flexible, less overhead, and simpler than
  an object.
* Remove code that handled simplejson-1.5.x and earlier.  Raise an error
  if that's the case instead.
  * We require python-2.6 or better which has the json module builtin to
    the stdlib.  So this is only an issue if the stdlib json has been
    overridden by a third party module and the simplejson on the system
    is 1.5.x or less.  (1.5 was released on 2007-01-18)
2017-11-21 13:41:27 -08:00
..
__init__.py Fix vault --ask-vault-pass with no tty (#31493) 2017-11-15 14:01:32 -05:00
adhoc.py Use playbook callbacks for adhoc commands too 2017-11-01 16:46:22 -04:00
config.py Make newer stuff PEP8 compliant (#26951) 2017-11-05 11:27:41 +01:00
console.py Playbook dir option (#32275) 2017-10-31 15:41:30 -04:00
doc.py Config continued (#31024) 2017-11-16 13:49:57 -05:00
galaxy.py Revert "Removed a force conditional (#28851)" (#32282) 2017-10-28 18:35:32 +10:00
inventory.py jsonify inventory (#32990) 2017-11-21 13:41:27 -08:00
playbook.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
pull.py Avoid default inventory proccessing for pull (#32135) 2017-10-25 19:55:48 -04:00
vault.py Fix typo in usage of encrypt_string command (#32961) 2017-11-19 14:20:57 +00:00