Add quotes around variables

This commit is contained in:
Emmanouil Kampitakis 2018-07-18 16:39:54 +02:00
parent f1d596852a
commit f268354cf1
3 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@
- name: Debian/Ubuntu | Install Logstash
apt:
name: logstash=1:{{ elastic_stack_version }}-1
name: "logstash=1:{{ elastic_stack_version }}-1"
state: present
update_cache: yes
tags: install

View File

@ -58,7 +58,7 @@
- name: Debian/Ubuntu | Install OpenScap
apt:
name: {{ item }}
name: "{{ item }}"
state: present
cache_valid_time: 3600
when: wazuh_agent_config.openscap.disable == 'no'

View File

@ -22,7 +22,7 @@
- name: Debian/Ubuntu | Add NodeSource repositories for Node.js
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
update_cache: yes
@ -66,7 +66,7 @@
- name: Debian/Ubuntu | Install OpenScap
package:
name: {{ item }}
name: "{{ item }}"
state: present
cache_valid_time: 3600
when: wazuh_manager_config.openscap.disable == 'no'