network/.github
Rich Megginson db10fc2035 add support for ansible-core 2.11 ansible-lint, ansible-test
Add support for using latest ansible-lint and ansible-test with
ansible-core 2.11.  There are a few new warnings that need to
be addressed or suppressed.

One of the changes is to add `# noqa ignore-errors` to the places in
the role where `ignore_errors: true` is used.  In general, it is not
a good idea to use `ignore_errors: true` - instead, it is better to
capture the result of the command using a `register`, then use
`failed_when`.  Or, if that is not possible, use a `block`/`rescue`
for more complex error handling.  However, in the case where the network
role is using `ignore_errors: true` in test code, it is acceptable.
see https://ansible-lint.readthedocs.io/en/latest/default_rules.html#ignore-errors

Another change is to have all tasks have a valid `name:`.  This
is explained at https://ansible-lint.readthedocs.io/en/latest/default_rules.html#unnamed-task

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2021-10-11 12:03:00 -06:00
..
workflows use apt-get install -y 2021-09-15 16:17:55 -06:00
Dockerfile.c8-network-role CI: Enable integration test in Github Action 2021-07-28 19:50:09 +08:00
Dockerfile.c8s-network-role CI: Enable integration test in Github Action 2021-07-28 19:50:09 +08:00
run_test.sh add support for ansible-core 2.11 ansible-lint, ansible-test 2021-10-11 12:03:00 -06:00
stale.yml github: add stale workflow 2020-10-26 14:59:30 +01:00