Merge "Ensure that comments are not counted"

This commit is contained in:
Zuul 2018-05-09 11:29:45 +00:00 committed by Gerrit Code Review
commit f22609a524
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@
# Linting checks need to be skipped because this command doesn't create any
# files.
- name: Count nameserver entries in /etc/resolv.conf
command: grep nameserver /etc/resolv.conf
command: grep ^nameserver /etc/resolv.conf
register: nameserver_check
check_mode: no
changed_when: False