Update installation_from_sources.yml to pass linting

This commit is contained in:
Jose M 2019-11-19 12:08:42 +01:00
parent c1b331be79
commit 9258026c49

View File

@ -47,19 +47,22 @@
with_items:
- "clean"
- "clean-deps"
register: clean_result
changed_when: clean_result.rc == 0
failed_when: false
- name: Render the "preloaded-vars.conf" file
template:
src: ../templates/preloaded_vars.conf.j2
src: /templates/preloaded_vars.conf.j2
dest: "/tmp/wazuh-{{ wazuh_sources_installation.branch }}/etc/preloaded-vars.conf"
owner: root
group: root
mode: '644'
- name: Executing "install.sh" script to build and install the Wazuh Agent
shell: ./install.sh
- name: Executing "install.sh" script to build and install the Wazuh Manager
shell: ./install.sh > /tmp/build_log.txt
register: installation_result
changed_when: installation_result == 0
args:
chdir: "/tmp/wazuh-{{ wazuh_sources_installation.branch }}"
become: yes