Add custom repo for Wazuh Plugin Kibana installation app
This commit is contained in:
parent
329910eb41
commit
c988e6220e
@ -5,9 +5,15 @@
|
|||||||
name: git
|
name: git
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Modify repo url if host is in Debian family
|
||||||
|
set_fact:
|
||||||
|
node_js_repo_type: deb
|
||||||
|
when:
|
||||||
|
- ansible_os_family | lower == "debian"
|
||||||
|
|
||||||
- name: Download script to install Nodejs repository
|
- name: Download script to install Nodejs repository
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ node_js_repository_url }}"
|
url: "https://{{ node_js_repo_type }}.{{ node_js_repo_url }}"
|
||||||
dest: "/tmp/setup_nodejs_repo.sh"
|
dest: "/tmp/setup_nodejs_repo.sh"
|
||||||
mode: "0700"
|
mode: "0700"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user