ansible-role-tripleo-modify.../tasks/yum_update.yml
Chandan Kumar b541c5ef99 Run all linters via pre-commit
Executes all linters via pre-commit, which is much faster, guarantees
their version locking and allows upgrading them with a single command.

Before this change the only linter running via pre-commit was
ansible-lint.

Now we also run bashate, flake8 and yamllint via pre-commit.

For developer convenience we still keep the old tox environments
which allow running a single linter.

Added long_description_content_type to fix twine check failure

Change-Id: I037eae61921b2a84aa99838804f70e96ee8d8b13
2019-02-15 18:22:10 +05:30

11 lines
216 B
YAML

---
- import_tasks: precheck.yml
tags:
- always
- import_tasks: yum_update_buildah.yml
when: container_build_tool == 'buildah'
- import_tasks: yum_update_docker.yml
when: container_build_tool == 'docker'