add LCM ansible playbooks
[sdnc/oam.git] / installation / ansible-server / src / main / yml / ansible_precheck_jq@0.00.yml
diff --git a/installation/ansible-server/src/main/yml/ansible_precheck_jq@0.00.yml b/installation/ansible-server/src/main/yml/ansible_precheck_jq@0.00.yml
new file mode 100755 (executable)
index 0000000..0047080
--- /dev/null
@@ -0,0 +1,10 @@
+---
+- hosts: all
+  tasks:
+  - name: check jq is not installed
+    stat:
+      path: /usr/bin/jq
+    register: abc
+  - fail:
+      msg: "jq is already installed"
+    when: abc.stat.exists == true