diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2016-04-06 23:34:04 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-04-07 00:54:47 +0200 |
commit | 007ed00acd4e9b4ce5518083ae1c121920ee5e7b (patch) | |
tree | 91fdc3e509b5cfe4ec91be11b4bdc13c25e4a205 /uci.py | |
parent | Add switch noreturn to uci_set() (diff) | |
download | ansible-uci-007ed00acd4e9b4ce5518083ae1c121920ee5e7b.tar.xz |
Parameter name is not required
It is useful for section management.
Diffstat (limited to 'uci.py')
-rw-r--r-- | uci.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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), |