---
<!--- Verify first that your feature was not already discussed on GitHub -->
<!--- Complete *all* sections as described, this form is processed automatically -->

##### SUMMARY
I want to be able to use a pure (non-regex) line with lineinfile. Without accidentally escaping or not escaping characters.

##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME
lineinfile

##### ADDITIONAL INFORMATION

I have a line in a file which has lots of special characters. I want to use Ansible's lineinfile module.

Ansible's lineinfile module requires a regular expression, which means lots of escaping for me, and a role or playbook that is more difficult to read.

Could the module support a non-regex line too?

Example of problem regex (have fun escaping this one! - real world example):

```yaml
    lineinfile:
      path: /etc/apt/apt.conf.d/50unattended-upgrades
      regexp: '#         "${distro_id}:${distro_codename}-updates";'
      line: '         "${distro_id}:${distro_codename}-updates";'
```
if firstmatch:
                    break
    
    
    if not match:
        for lineno, b_cur_line in enumerate(b_lines):
            if b_line == b_cur_line.rstrip(b'\r\n'):
                index[0] = lineno
                exact_line_match = True
            elif bre_ins is not None and bre_ins.search(b_cur_line):
                if insertafter:
                    
                    index[1] = lineno + 1
                    if firstmatch:
                        break
                if insertbefore:
                    
                    index[1] = lineno
                    if firstmatch:
                        break
    msg = ''
    changed = False
    b_linesep = to_bytes(os.linesep, errors='surrogate_or_strict')
    
    if index[0] != -1:
        if backrefs and match:
            b_new_line = match.expand(b_line)
        else:
            
            b_new_line = b_line