diff options
author | Milutin Jovanović <jovanovic.milutin@gmail.com> | 2020-02-11 18:23:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 18:23:58 +0100 |
commit | 8a2ac8f76a1cfb7372131afcce9c73c379e3e22f (patch) | |
tree | d26bd6e24f33cdfc6c7208e3249733dea77ed054 /lib | |
parent | Bugfix of 65525: proxysql in check_config TypeError: tuple indices must be in... (diff) | |
download | ansible-8a2ac8f76a1cfb7372131afcce9c73c379e3e22f.tar.xz ansible-8a2ac8f76a1cfb7372131afcce9c73c379e3e22f.zip |
Fixing typo in regex escape. (#67236)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ansible/modules/files/lineinfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/files/lineinfile.py b/lib/ansible/modules/files/lineinfile.py index 568c28abfd..d3094bede3 100644 --- a/lib/ansible/modules/files/lineinfile.py +++ b/lib/ansible/modules/files/lineinfile.py @@ -188,7 +188,7 @@ EXAMPLES = r''' - name: Ensure the JBoss memory settings are exactly as needed lineinfile: path: /opt/jboss-as/bin/standalone.conf - regexp: '^(.*)Xms(\\d+)m(.*)$' + regexp: '^(.*)Xms(\d+)m(.*)$' line: '\1Xms${xms}m\3' backrefs: yes |