From 334c26ca53089f0f90577682c9aaaa967bf0c25d Mon Sep 17 00:00:00 2001 From: Simon Olofsson Date: Wed, 11 Feb 2015 23:24:36 +0100 Subject: [PATCH] homebrew: Package name is not required. e.g. `- homebrew: update_homebrew=yes upgrade_all=yes' is a valid task. --- lib/ansible/modules/extras/packaging/os/homebrew.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/packaging/os/homebrew.py b/lib/ansible/modules/extras/packaging/os/homebrew.py index 2ecac0c4ace..aac4efd827e 100644 --- a/lib/ansible/modules/extras/packaging/os/homebrew.py +++ b/lib/ansible/modules/extras/packaging/os/homebrew.py @@ -31,7 +31,8 @@ options: name: description: - name of package to install/remove - required: true + required: false + default: None state: description: - state of the package @@ -48,7 +49,7 @@ options: description: - upgrade all homebrew packages required: false - default: no + default: "no" choices: [ "yes", "no" ] install_options: description: