Update installation_from_sources.yml to pass linting
This commit is contained in:
parent
c1b331be79
commit
9258026c49
@ -47,19 +47,22 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- "clean"
|
- "clean"
|
||||||
- "clean-deps"
|
- "clean-deps"
|
||||||
|
register: clean_result
|
||||||
|
changed_when: clean_result.rc == 0
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
- name: Render the "preloaded-vars.conf" file
|
- name: Render the "preloaded-vars.conf" file
|
||||||
template:
|
template:
|
||||||
src: ../templates/preloaded_vars.conf.j2
|
src: /templates/preloaded_vars.conf.j2
|
||||||
dest: "/tmp/wazuh-{{ wazuh_sources_installation.branch }}/etc/preloaded-vars.conf"
|
dest: "/tmp/wazuh-{{ wazuh_sources_installation.branch }}/etc/preloaded-vars.conf"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: '644'
|
mode: '644'
|
||||||
|
|
||||||
- name: Executing "install.sh" script to build and install the Wazuh Agent
|
- name: Executing "install.sh" script to build and install the Wazuh Manager
|
||||||
shell: ./install.sh
|
shell: ./install.sh > /tmp/build_log.txt
|
||||||
|
register: installation_result
|
||||||
|
changed_when: installation_result == 0
|
||||||
args:
|
args:
|
||||||
chdir: "/tmp/wazuh-{{ wazuh_sources_installation.branch }}"
|
chdir: "/tmp/wazuh-{{ wazuh_sources_installation.branch }}"
|
||||||
|
|
||||||
become: yes
|
become: yes
|
||||||
Loading…
Reference in New Issue
Block a user