From 9cb5b734ab1918007c4b257febbbfea3068026b5 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 11 Apr 2019 11:24:30 +0200 Subject: [PATCH] small fixes --- CHANGELOG.md | 21 ++++++++++++++++++++- README.md | 5 ++++- ansiblelater/__init__.py | 2 +- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 210b6a9..37f2f48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,21 @@ +**BREAKING RELEASE** + +ansible-later contains some fundamental restructuring and is not backward compatible +with old releases. + +- BREAKING + - Switch configuration files to YAML + - Enable multi location configuration files [#14](https://github.com/xoxys/ansible-later/issues/14) + +- FEATURE + - Add optional JSON logging [#13](https://github.com/xoxys/ansible-later/issues/13) + - Add exclude options in config files [#16](https://github.com/xoxys/ansible-later/issues/16) + - Add multiprocessing for better perfomance [#12](https://github.com/xoxys/ansible-later/issues/12) + - ENHANCEMENT - - Respect `PY_COLORS` to get colorized output for nontty environments ([#10](https://github.com/xoxys/ansible-later/pull/10)) + - Allow passing glob patterns to cli [#16](https://github.com/xoxys/ansible-later/issues/16) + - Rule settings (e.g. for yamllint) can be set in config file [#7](https://github.com/xoxys/ansible-later/issues/7) + - Remove simple print outputs and switch to python logging module [#13](https://github.com/xoxys/ansible-later/issues/13) + - Restructure log output for better readability [#13](https://github.com/xoxys/ansible-later/issues/13) + - Better loglevel control from cli (-vvv/-qqq) [#13](https://github.com/xoxys/ansible-later/issues/13) + - Better inventory file classification [#15](https://github.com/xoxys/ansible-later/issues/15) diff --git a/README.md b/README.md index c5d73a4..accbcb4 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,9 @@ ansible: max-spaces-inside: 1 min-spaces-inside: 1 +# Global logging configuration +# If you would like to force colored output (e.g. non-tty) +# set emvironment variable `PY_COLORS=1` logging: # You can enable json logging if a parsable output is required json: False @@ -295,7 +298,7 @@ which contains some meta informations and is an instance of one of following obj | HostVars | all files (including subdirs) within the parent dir `host_vars` | | Meta | all files within the parent dir `meta` | | Code | all files within the parent dir `library`, `lookup_plugins`, `callback_plugins` and `filter_plugins` or python files (`.py`) | -| Inventory | all files within the parent dir `inventory` and `inventory` or `hosts` in filename | +| Inventory | all files within the parent dir `inventories` and `inventory` or `hosts` as filename | | Rolesfile | all files with `rolesfile` or `requirements` in filename | | Makefile | all files with `Makefile` in filename | | Template | all files (including subdirs) within the parent dir `templates` or jinja2 files (`.j2`) | diff --git a/ansiblelater/__init__.py b/ansiblelater/__init__.py index f260056..cf70cf9 100644 --- a/ansiblelater/__init__.py +++ b/ansiblelater/__init__.py @@ -2,7 +2,7 @@ __author__ = "Robert Kaussow" __project__ = "ansible-later" -__version__ = "0.1.5" +__version__ = "0.2.0" __license__ = "MIT" __maintainer__ = "Robert Kaussow" __email__ = "mail@geeklabor.de"