From 74842adc07edb248f9b544389ce4093b9149f195 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 14 Jun 2017 11:08:34 -0400 Subject: 1st part of ansible config, adds ansible-config to view/manage configs (#12797) * Start of ansible config project moved configuration definitions to external yaml file vs hardcoded * updated constants to be a data strcutures that are looped over and also return origin of setting changed to manager/data scheme for base classes new cli ansible-config to view/manage ansible configuration settings * prints green for default/unchanged and yellow for those that have been overriden * added list action to show all configurable settings and their associated ini and env var names * allows specifying config file to see what result would look like * TBD update, edit and view options removed test for functions that have been removed env_Vars are now list of dicts allows for version_added and deprecation in future added a couple of descriptions for future doc autogeneration ensure test does not fail if delete_me exists normalized 'path expansion' added yaml config to setup packaging removed unused imports better encoding handling updated as per feedback * pep8 --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index d43fd299ff..58f65b6039 100644 --- a/setup.py +++ b/setup.py @@ -69,7 +69,9 @@ setup( 'galaxy/data/*/*.*', 'galaxy/data/*/*/.*', 'galaxy/data/*/*/*.*', - 'galaxy/data/*/tests/inventory' + 'galaxy/data/*/tests/inventory', + 'config/data/*.yaml', + 'config/data/*.yml', ], }, classifiers=[ -- cgit v1.2.3