Merge "Use force OPTIONS to install the jq"
This commit is contained in:
commit
fcc3ffe734
@ -22,15 +22,7 @@
|
||||
- jq
|
||||
rpm:
|
||||
- jq
|
||||
- name: removing jq binary on centos
|
||||
become: true
|
||||
become_user: root
|
||||
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
with_items:
|
||||
- /usr/bin/jq
|
||||
|
||||
- name: installing jq 1.5 binary for centos
|
||||
become: true
|
||||
become_user: root
|
||||
@ -39,3 +31,4 @@
|
||||
url: https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64
|
||||
dest: /usr/bin/jq
|
||||
mode: 0555
|
||||
force: yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user