Code Review
/
sdnc
/
oam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
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
+++ b/
installation/ansible-server/src/main/yml/ansible_precheck_jq@0.00.yml
@@ -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