Merge "Update regex for presistent save roles"

This commit is contained in:
Zuul
2019-12-19 17:54:22 +00:00
committed by Gerrit Code Review

View File

@@ -71,7 +71,7 @@
lineinfile:
path: "{{ item }}"
state: absent
regexp: 'comment.*(neutron-|ironic-inspector)'
regexp: '^((?!.*comment)(?=.*(ironic-inspector|neutron-)))'
when:
- item.find('v=' ~ '^/') == -1
loop: "{{ neutron_rules.stdout_lines }}"