<!--- Verify first that your issue is not already reported on GitHub -->
<!--- Also test if the latest release and devel branch are affected too -->
<!--- Complete *all* sections as described, this form is processed automatically -->

##### SUMMARY
<!--- Explain the problem briefly below -->
The word "ERROR" in an IOS log message causes terminal to parse an error. IOS_command modules doesn't register stdout, only the one line of log output with the word "Error" as stderr. Task fails.
##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
<!--- Write the short name of the module, plugin, task or feature below, use your best guess if unsure -->
I'm using ios_command module, however, I believe the ios terminal plugin has the regex to parse stderr.  ansible/lib/ansible/plugins/terminal/ios.py 
##### ANSIBLE VERSION
<!--- Paste verbatim output from "ansible --version" between quotes -->
```paste below
Using 2.7.7. Difficult to copy and paste due to locked down environment.
```

##### CONFIGURATION
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
```paste below
See above.
```

##### OS / ENVIRONMENT
<!--- Provide all relevant information below, e.g. target OS versions, network device firmware, etc. -->
Ubuntu 16.04.6

##### STEPS TO REPRODUCE
<!--- Describe exactly how to reproduce the problem, using a minimal test-case -->
Use ios_command module to show logs in buffer on the device. Register the output as a variable. Debug the contents of the variable. If a line of logs contains the word "ERROR", the task will fail and stdout will be empty.

Actual log lines that have triggered this:
%IPSEC-3-REPLAY_ERROR: IPSec SA recieves anti-replay error, DP Handle 549, src_addr x.x.x.x, dest_addr y.y.y.y, SPI...

ISAKMP-ERROR: (0):Failed to find peer index node to update peer_info_list

<!--- Paste example playbooks or commands between quotes below -->
```yaml
- tasks
  ios_command:
    commands: show logging
  register: logs
```

<!--- HINT: You can paste gist.github.com links for larger files -->

##### EXPECTED RESULTS
<!--- Describe what you expected to happen when running the steps above -->
Lines of logs registered in variable.stdout.

##### ACTUAL RESULTS
<!--- Describe what actually happened. If possible run with extra verbosity (-vvvv) -->
Variable has no stdout, only stderr. Stderr is only the one line of logs that contained the word "ERROR".
<!--- Paste verbatim command output between quotes -->
```paste below

```

'''
        Matches the command prompt and responds
        :arg resp: Byte string containing the raw response from the remote
        :arg prompts: Sequence of byte strings that we consider prompts for input
        :arg answer: Sequence of Byte string to send back to the remote if we find a prompt.
                A carriage return is automatically appended to this string.
        :param prompt_retry_check: Bool value for trying to detect more prompts
        :param check_all: Bool value to indicate if all the values in prompt sequence should be matched or any one of
                          given prompt.
        :returns: True if a prompt was found in ``resp``. If check_all is True
                  will True only after all the prompt in the prompts list are matched. False otherwise.
        '''
        single_prompt = False
        if not isinstance(prompts, list):
            prompts = [prompts]
            single_prompt = True
        if not isinstance(answer, list):
            answer = [answer]
        prompts_regex = [re.compile(r, re.I) for r in prompts]
        for index, regex in enumerate(prompts_regex):
            match = regex.search(resp)
            if match:
                self._matched_cmd_prompt = match.group()
                self._log_messages("matched command prompt: %s" % self._matched_cmd_prompt)