Commit 1e9f496f by Ben Patterson

Use stricter regex for JAVA_ARGS line replacement.

parent e5a4da4b
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
lineinfile: lineinfile:
backup: yes backup: yes
dest: /etc/default/jenkins dest: /etc/default/jenkins
regexp: '^JAVA_ARGS' regexp: '^JAVA_ARGS='
line: 'JAVA_ARGS=\"{{ jenkins_jvm_args }}\"' line: 'JAVA_ARGS=\"{{ jenkins_jvm_args }}\"'
notify: notify:
- restart Jenkins - restart Jenkins
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment