Merge "Revert "Fix lint issue""
This commit is contained in:
commit
04ca878a94
@ -22,6 +22,5 @@
|
|||||||
# Make sure OS does not have a stale package cache.
|
# Make sure OS does not have a stale package cache.
|
||||||
- name: Update apt cache
|
- name: Update apt cache
|
||||||
become: yes
|
become: yes
|
||||||
apt:
|
command: apt-get update
|
||||||
update_cache: yes
|
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
2
tox.ini
2
tox.ini
@ -35,7 +35,7 @@ commands =
|
|||||||
# NOTE(pabelanger): Ignore the following checks:
|
# NOTE(pabelanger): Ignore the following checks:
|
||||||
# ANSIBlE0012: Commands should not change things if nothing needs doing
|
# ANSIBlE0012: Commands should not change things if nothing needs doing
|
||||||
bash -c "find playbooks -type f -regex '.*.y[a]?ml' -print0 | xargs -n1 -0 \
|
bash -c "find playbooks -type f -regex '.*.y[a]?ml' -print0 | xargs -n1 -0 \
|
||||||
ansible-lint -x ANSIBLE0012 2> /dev/null"
|
ansible-lint -x ANSIBLE0006,ANSIBLE0012 2> /dev/null"
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Loading…
Reference in New Issue
Block a user