prepare bugfix release

This commit is contained in:
Robert Kaussow 2019-04-15 18:55:54 +02:00
parent a1a0099c7d
commit ef05c82f50
4 changed files with 5 additions and 4 deletions

View File

@ -1,2 +1,3 @@
- BUGFIXES
- Set minimum number of workers to 2
- Fix missing exit code
- Fix small role issues

View File

@ -2,7 +2,7 @@
__author__ = "Robert Kaussow"
__project__ = "ansible-later"
__version__ = "0.2.1"
__version__ = "0.2.2"
__license__ = "MIT"
__maintainer__ = "Robert Kaussow"
__email__ = "mail@geeklabor.de"

View File

@ -1,12 +1,12 @@
"""Checks related to ansible roles files."""
from ansible.parsing.yaml.objects import AnsibleMapping
from nested_lookup import nested_lookup
from ansiblelater.command.candidates import Error
from ansiblelater.command.candidates import Result
from ansiblelater.utils.rulehelper import get_raw_yaml
from ansiblelater.utils.rulehelper import get_tasks
from ansible.parsing.yaml.objects import AnsibleMapping
def check_meta_main(candidate, settings):

View File

@ -81,8 +81,8 @@ class Settings(object):
s = stream.read()
sdict = utils.safe_load(s)
if self._validate(sdict):
sdict["logging"]["level"] = sdict["logging"]["level"].upper()
anyconfig.merge(defaults, sdict, ac_merge=anyconfig.MS_DICTS)
defaults["logging"]["level"] = defaults["logging"]["level"].upper()
if cli_options and self._validate(cli_options):
anyconfig.merge(defaults, cli_options, ac_merge=anyconfig.MS_DICTS)