mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-06-02 16:39:46 +02:00
prepare bugfix release
This commit is contained in:
parent
a1a0099c7d
commit
ef05c82f50
|
@ -1,2 +1,3 @@
|
||||||
- BUGFIXES
|
- BUGFIXES
|
||||||
- Set minimum number of workers to 2
|
- Fix missing exit code
|
||||||
|
- Fix small role issues
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
__author__ = "Robert Kaussow"
|
__author__ = "Robert Kaussow"
|
||||||
__project__ = "ansible-later"
|
__project__ = "ansible-later"
|
||||||
__version__ = "0.2.1"
|
__version__ = "0.2.2"
|
||||||
__license__ = "MIT"
|
__license__ = "MIT"
|
||||||
__maintainer__ = "Robert Kaussow"
|
__maintainer__ = "Robert Kaussow"
|
||||||
__email__ = "mail@geeklabor.de"
|
__email__ = "mail@geeklabor.de"
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
"""Checks related to ansible roles files."""
|
"""Checks related to ansible roles files."""
|
||||||
|
|
||||||
|
from ansible.parsing.yaml.objects import AnsibleMapping
|
||||||
from nested_lookup import nested_lookup
|
from nested_lookup import nested_lookup
|
||||||
|
|
||||||
from ansiblelater.command.candidates import Error
|
from ansiblelater.command.candidates import Error
|
||||||
from ansiblelater.command.candidates import Result
|
from ansiblelater.command.candidates import Result
|
||||||
from ansiblelater.utils.rulehelper import get_raw_yaml
|
from ansiblelater.utils.rulehelper import get_raw_yaml
|
||||||
from ansiblelater.utils.rulehelper import get_tasks
|
from ansiblelater.utils.rulehelper import get_tasks
|
||||||
from ansible.parsing.yaml.objects import AnsibleMapping
|
|
||||||
|
|
||||||
|
|
||||||
def check_meta_main(candidate, settings):
|
def check_meta_main(candidate, settings):
|
||||||
|
|
|
@ -81,8 +81,8 @@ class Settings(object):
|
||||||
s = stream.read()
|
s = stream.read()
|
||||||
sdict = utils.safe_load(s)
|
sdict = utils.safe_load(s)
|
||||||
if self._validate(sdict):
|
if self._validate(sdict):
|
||||||
sdict["logging"]["level"] = sdict["logging"]["level"].upper()
|
|
||||||
anyconfig.merge(defaults, sdict, ac_merge=anyconfig.MS_DICTS)
|
anyconfig.merge(defaults, sdict, ac_merge=anyconfig.MS_DICTS)
|
||||||
|
defaults["logging"]["level"] = defaults["logging"]["level"].upper()
|
||||||
|
|
||||||
if cli_options and self._validate(cli_options):
|
if cli_options and self._validate(cli_options):
|
||||||
anyconfig.merge(defaults, cli_options, ac_merge=anyconfig.MS_DICTS)
|
anyconfig.merge(defaults, cli_options, ac_merge=anyconfig.MS_DICTS)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user