From e115f62a2d1898f5b9e3d1a7a0de8a5367bccf21 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Sun, 4 Oct 2015 22:13:35 -0500 Subject: [PATCH] homebrew: Also add 'formula' as alias for 'name' and reformat --- lib/ansible/modules/extras/packaging/os/homebrew.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/packaging/os/homebrew.py b/lib/ansible/modules/extras/packaging/os/homebrew.py index 6b3aea550a..9d41dcd69a 100644 --- a/lib/ansible/modules/extras/packaging/os/homebrew.py +++ b/lib/ansible/modules/extras/packaging/os/homebrew.py @@ -765,7 +765,11 @@ class Homebrew(object): def main(): module = AnsibleModule( argument_spec=dict( - name=dict(aliases=["pkg", "package"], required=False, type='list'), + name=dict( + aliases=["pkg", "package", "formula"], + required=False, + type='list', + ), path=dict(required=False), state=dict( default="present",