Merge "Revert "Fix lint issue""

This commit is contained in:
Zuul 2017-09-07 15:22:39 +00:00 committed by Gerrit Code Review
commit 04ca878a94
2 changed files with 2 additions and 3 deletions

View File

@ -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'

View File

@ -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}