Remove yaml check for inventory in run/cli

Removing Yaml check for inventory since the ansible inventory
is not always a Yaml format.

Example here:
[bootstrap]
192.168.126.10

[master]
192.168.126.11

result to:
hosts.yaml must be properly formatted YAML/JSON.Details: expected '<document start>'

Change-Id: I8c91369380d739acab464dcc1a473f84a78eefea
This commit is contained in:
matbu 2022-04-12 17:15:24 +02:00
parent 794fb1a0a3
commit ad66936212
1 changed files with 0 additions and 2 deletions

View File

@ -176,8 +176,6 @@ class Run(BaseCommand):
self.app.LOG.debug(
"You are using inline inventory. '{}'".format(
parsed_args.inventory))
else:
common.read_cli_data_file(parsed_args.inventory)
v_actions = ValidationActions(
parsed_args.validation_dir, log_path=parsed_args.validation_log_dir)