mirror of https://github.com/ansible/ansible.git
Add word boundary in apache2_module regexp
Add a word boundary \b to the regexp for checking the output of a2{en,dis}mod,
to avoid a false positive for a module that ends with the same text as the
module we're working on.
For example, the previous regexp r'.*spam already enabled' would also match
against 'eggs_spam already enabled'.
Also, get rid of the redundant '.*' from the end of the regexp.
pull/18777/head
parent
15fcbcb0ee
commit
fdc52b8277
Loading…
Reference in New Issue