aboutsummaryrefslogtreecommitdiffstats
path: root/installation/ansible-server/src/main/Playbooks/ansible_precheck_jq@0.00.yml
blob: 00470807787d4297beeb821e96a55c2e26958e49 (plain)
1
2
3
4
5
6
7
8
9
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