ansible-lint: Ignore some command-instead-of-module warnings

Picked up by ansible-lint 6.12.0, we can ignore these

Note noqa flags not working; see
https://github.com/ansible/ansible-lint/issues/2970

Change-Id: I33dc7a4756cf382aef6ba13c0762951ae18005d3
This commit is contained in:
Ian Wienand 2023-02-02 12:59:38 +11:00
parent 5ea986434f
commit 5cdfc1cfe7
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View File

@ -48,6 +48,8 @@
command: 'apt-get update'
register: _apt_get_output
become: yes
tags:
- skip_ansible_lint
- name: Check for warnings in output
fail:

View File

@ -34,7 +34,7 @@
# We tag this with the unix timestamp so that the upload always
# has an increasing version number.
- name: Import sandbox project
- name: Import sandbox project # noqa command-instead-of-module
shell: |
git clone https://opendev.org/opendev/sandbox
pushd sandbox
@ -42,6 +42,8 @@
python3 setup.py bdist_wheel
args:
executable: '/bin/bash'
tags:
- skip_ansible_lint
# This value is restricted to uploading the sandbox package to
# test.pypi.org; it is not kept in plain text to avoid things that