Skip to content

'format' option missing from configuration file schema #4898

@JohnVillalovos

Description

@JohnVillalovos

Running with ansible-lint 26.1.0 which was released on 8-Jan-2026.

$ tox -e ansible-lint
ansible-lint: install_deps> python -I -m pip install -r /builds/widget-checker/requirements.txt -r /builds/widget-checker/test-requirements.txt
ansible-lint: freeze> python -m pip freeze --all
ansible-lint: ansible==13.2.0,ansible-compat==25.12.0,ansible-core==2.20.1,ansible-lint==26.1.0,ansible-pylibssh==1.3.0,attrs==25.4.0,black==25.12.0,bracex==2.6,certifi==2026.1.4,cffi==2.0.0,charset-normalizer==3.4.4,click==8.3.1,cryptography==46.0.3,distro==1.9.0,dnspython==2.8.0,filelock==3.20.2,flake8==7.3.0,idna==3.11,isort==7.0.0,Jinja2==3.1.6,jmespath==1.0.1,jsonschema==4.26.0,jsonschema-specifications==2025.9.1,librt==0.7.7,MarkupSafe==3.0.3,mccabe==0.7.0,mypy==1.19.1,mypy_extensions==1.1.0,netaddr==1.3.0,packaging==25.0,pathspec==0.12.1,pip==25.3,platformdirs==4.5.1,pycodestyle==2.14.0,pycparser==2.23,pyflakes==3.4.0,pyspnego==0.12.0,pytokens==0.3.0,pywinrm==0.5.0,PyYAML==6.0.3,referencing==0.37.0,requests==2.32.5,requests_ntlm==1.3.0,resolvelib==1.2.1,rpds-py==0.30.0,ruamel.yaml==0.19.1,subprocess-tee==0.4.2,typing_extensions==4.15.0,urllib3==2.6.3,wcmatch==10.1,xmltodict==1.0.2,yamllint==1.37.1
ansible-lint: commands[0]> ansible-lint -vvv /builds/widget-checker/playbooks/site.yml
[WARNING]: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.
[DEPRECATION WARNING]: DEFAULT_MANAGED_STR option. Reason: The `ansible_managed` variable can be set just like any other variable, or a different variable can be used.
Alternatives: Set the `ansible_managed` variable, or use any custom variable in templates. This feature will be removed from ansible-core version 2.23.
ansible-lint: exit 3 (0.47 seconds) /builds/widget-checker> ansible-lint -vvv /builds/widget-checker/playbooks/site.yml pid=132
  ansible-lint: FAIL code 3 (66.99=setup[66.52]+cmd[0.47] seconds)
  evaluation failed :( (67.03 seconds)

If I use 25.12.2 it does not fail and completes with success.

Are there some flags I can use to have it show more details on why it failed? If it is because of the deprecation warning I would expect it would say that it failed because of the deprecation warning and say what rule that violated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issueBugs ideal for the first time, good for newcomers contributorshelp wanted

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions