Force ansible-lint to check just this repository
Doing tox -e linterns on the undercloud gives the followig error:
Ansible-lint...............................................Failed
- hook id: ansible-lint
- exit code: 2
INFO Executing syntax check on tripleo_ansible/playbooks/\
cli-baremetal-clean.yaml (0.77s)
WARNING Listing 1 violation(s) that are fatal
../../../usr/share/ansible/roles/openstack-operations/tasks/\
restart_service.yml:1:3: syntax-check couldn't resolve module/action \
'service_map_facts'. This often indicates a misspelling, missing \
collection, or incorrect module path.
You can skip specific rules or tags by adding them to your \
configuration file:
warn_list: # or 'skip_list' to silence them completely
- syntax-check # Ansible syntax check failed
Finished with 1 failure(s), 0 warning(s) on 1382 files.
This patch fixes this.
Closes-Bug: #1917938
Change-Id: Icf626c77db879f6654ed2c34004b8b67e23258ef
(cherry picked from commit cb2e3fb290
)
This commit is contained in:
parent
79c69d5c6d
commit
f45bff482e
|
@ -1,5 +1,6 @@
|
|||
exclude_paths:
|
||||
- releasenotes/
|
||||
- ../
|
||||
parseable: true
|
||||
quiet: false
|
||||
rulesdir:
|
||||
|
|
Loading…
Reference in New Issue