summaryrefslogtreecommitdiff
path: root/system/crypttab.py
diff options
context:
space:
mode:
authorRené Moser <mail@renemoser.net>2016-06-30 16:37:21 +0200
committerBrian Coca <bcoca@users.noreply.github.com>2016-06-30 10:37:21 -0400
commitbf07cf8d3bd2fc6af23eb724bb34bc189d7bd6d7 (patch)
tree7c2cb53cb880788203eaf90247bda22d1445ec6a /system/crypttab.py
parentd42e51a88435d747972285430a0230cbd321b042 (diff)
downloadansible-modules-extras-bf07cf8d3bd2fc6af23eb724bb34bc189d7bd6d7.tar.gz
fix typo in get_exception(), extends fix #2502 (#2507)
introduced with 9e277aabb033b3ec823b4a2db7c0f7e315eaaf0b
Diffstat (limited to 'system/crypttab.py')
-rw-r--r--system/crypttab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/crypttab.py b/system/crypttab.py
index e8e0b583..ea9698a1 100644
--- a/system/crypttab.py
+++ b/system/crypttab.py
@@ -130,7 +130,7 @@ def main():
crypttab = Crypttab(path)
existing_line = crypttab.match(name)
except Exception:
- e = get_exception
+ e = get_exception()
module.fail_json(msg="failed to open and parse crypttab file: %s" % e,
**module.params)