diff options
author | sysadmin75 <krisnewsome@gmail.com> | 2015-05-31 20:05:02 -0400 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2015-06-01 10:24:20 -0400 |
commit | 816b20af0beb5a96957cd51412aa116f14374b04 (patch) | |
tree | 8df92726a86555da42943deec4f34724757e8a51 | |
parent | 7e020d21deeb3425784e3bf13e07eed1cf036b22 (diff) | |
download | ansible-v2_final.tar.gz |
Fixes #11046v2_final
-rw-r--r-- | lib/ansible/module_utils/facts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/facts.py b/lib/ansible/module_utils/facts.py index 39546cc8bb..8575f457fb 100644 --- a/lib/ansible/module_utils/facts.py +++ b/lib/ansible/module_utils/facts.py @@ -2153,7 +2153,7 @@ class DarwinNetwork(GenericBsdIfconfigNetwork, Network): current_if['media'] = 'Unknown' # Mac does not give us this current_if['media_select'] = words[1] if len(words) > 2: - current_if['media_type'] = words[2][1:] + current_if['media_type'] = words[2][1:-1] if len(words) > 3: current_if['media_options'] = self.get_options(words[3]) |