rajthecomputerguy <rajtheco...@gmail.com>: Dec 22 02:40AM -0800
Hi Team,
I am facing below error while doing ansible-lint, Any help would be
appreciated
command: *ansible-lint test.yaml*
*Overriding detected file kind 'yaml' with 'playbook' for given
...more
|
Todd Lewis <uto...@gmail.com>: Dec 22 03:52AM -0800
That isn't an error. It's just information: the yaml file is being treated
as a playbook.
On Thursday, December 22, 2022 at 5:40:02 AM UTC-5 rajthecomputerguy wrote:
...more
|
rajthecomputerguy <rajtheco...@gmail.com>: Dec 22 04:16AM -0800
It is a warning , can you please tell me how to avoid this?
*WARNING Overriding detected file kind 'yaml' with 'playbook' for given
positional argument: my_test.yml*
On Thursday, December 22,
...more
|
Todd Lewis <uto...@gmail.com>: Dec 22 04:40AM -0800
Not possible to omit generating those messages, although you could say
$ ansible-lint […] 2>/dev/null
If the positional argument were, say, a group_vars file and it was being
...more
|
Will McDonald <wmcd...@gmail.com>: Dec 22 01:00PM
There's a little more info on why this behaviour occurs here:
https://github.com/ansible/ansible-lint/issues/1398
The shell return value is accurate regardless:
[wmcdonald@fedora tests]$ ll
...more
|