diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2016-04-05 18:22:33 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-04-05 18:22:33 +0200 |
commit | d29fa98a38f2ba8b0dd4cb2d6d08606bfaef555e (patch) | |
tree | 3bef7133b49c66cbbcc45074448ab0d57e5afeef /uci.py | |
download | ansible-uci-d29fa98a38f2ba8b0dd4cb2d6d08606bfaef555e.tar.xz |
Initial commit - add skeleton of module
Diffstat (limited to 'uci.py')
-rw-r--r-- | uci.py | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -0,0 +1,30 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +# (c) 2016, Robin Obůrka <r.oburka@gmail.com> +# +# This module is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This software is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software. If not, see <http://www.gnu.org/licenses/>. + +def main(): + module = AnsibleModule( + argument_spec = dict( + name = dict(aliases=["key"], required=True) + ) + ) + + +# import module snippets +from ansible.module_utils.basic import * + +main() |