Add quotes around variables
This commit is contained in:
parent
f1d596852a
commit
f268354cf1
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Install Logstash
|
- name: Debian/Ubuntu | Install Logstash
|
||||||
apt:
|
apt:
|
||||||
name: logstash=1:{{ elastic_stack_version }}-1
|
name: "logstash=1:{{ elastic_stack_version }}-1"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
tags: install
|
tags: install
|
||||||
|
|||||||
@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Install OpenScap
|
- name: Debian/Ubuntu | Install OpenScap
|
||||||
apt:
|
apt:
|
||||||
name: {{ item }}
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
when: wazuh_agent_config.openscap.disable == 'no'
|
when: wazuh_agent_config.openscap.disable == 'no'
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Add NodeSource repositories for Node.js
|
- name: Debian/Ubuntu | Add NodeSource repositories for Node.js
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: deb https://deb.nodesource.com/node_6.x {{ ansible_distribution_release }} main
|
repo: "deb https://deb.nodesource.com/node_6.x {{ ansible_distribution_release }} main"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
- name: Debian/Ubuntu | Install OpenScap
|
- name: Debian/Ubuntu | Install OpenScap
|
||||||
package:
|
package:
|
||||||
name: {{ item }}
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
when: wazuh_manager_config.openscap.disable == 'no'
|
when: wazuh_manager_config.openscap.disable == 'no'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user