From 007ed00acd4e9b4ce5518083ae1c121920ee5e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Wed, 6 Apr 2016 23:34:04 +0200 Subject: Parameter name is not required It is useful for section management. --- uci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uci.py b/uci.py index 79b1202..afec6cf 100644 --- a/uci.py +++ b/uci.py @@ -89,7 +89,7 @@ def uci_set(module, binary, key, value, noreturn=False): def main(): module = AnsibleModule( argument_spec = dict( - name = dict(aliases=["key"], required=True), + name = dict(aliases=["key"], required=False), value = dict(aliases=["val"], required=False), package = dict(aliases=["p"], required=True), section = dict(aliases=["s"], required=False), -- cgit v1.2.3