summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-03-07 07:03:57 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-03-07 07:03:57 +0100
commit6bc3a3ac71e11fb6459df715536fec373c123a97 (patch)
treec99a4507012fd853ffa2622e35fa26f3bd3804e3 /library
parent69adb23c59e991ddcabf5cfce415fd8b638dbc1a (diff)
downloadands-6bc3a3ac71e11fb6459df715536fec373c123a97.tar.gz
ands-6bc3a3ac71e11fb6459df715536fec373c123a97.tar.bz2
ands-6bc3a3ac71e11fb6459df715536fec373c123a97.tar.xz
ands-6bc3a3ac71e11fb6459df715536fec373c123a97.zip
Streamlined networking, OpenShift recovery, Ganesha
Diffstat (limited to 'library')
-rw-r--r--library/warn.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/library/warn.py b/library/warn.py
new file mode 100644
index 0000000..de6421c
--- /dev/null
+++ b/library/warn.py
@@ -0,0 +1,14 @@
+
+from ansible.module_utils.basic import *
+
+def main():
+ spec = {
+ 'msg' : { 'required': True, 'type': 'str' }
+ }
+
+ module = AnsibleModule(argument_spec=spec)
+ module.exit_json(changed=False, warnings=[ module.params['msg'] ])
+
+
+if __name__ == '__main__':
+ main() \ No newline at end of file