Merge "Update regex for presistent save roles"
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
lineinfile:
|
lineinfile:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: absent
|
state: absent
|
||||||
regexp: 'comment.*(neutron-|ironic-inspector)'
|
regexp: '^((?!.*comment)(?=.*(ironic-inspector|neutron-)))'
|
||||||
when:
|
when:
|
||||||
- item.find('v=' ~ '^/') == -1
|
- item.find('v=' ~ '^/') == -1
|
||||||
loop: "{{ neutron_rules.stdout_lines }}"
|
loop: "{{ neutron_rules.stdout_lines }}"
|
||||||
|
Reference in New Issue
Block a user