Skip to content

Commit 8d25fa8

Browse files
authored
Merge pull request #20 from stackhpc/lint
Fix ansible-lint nits
2 parents e393f38 + 8f9f5bc commit 8d25fa8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tasks/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
include_vars: "{{ item }}"
44
with_first_found:
55
- files:
6-
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version}}.yml"
6+
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
77
- "{{ ansible_distribution }}.yml"
88
- "{{ ansible_os_family }}.yml"
99
tags: vars
@@ -26,7 +26,9 @@
2626
- include_tasks: vm.yml
2727
vars:
2828
console_log_enabled: "{{ vm.console_log_enabled | default(false) }}"
29-
console_log_path: "{{ vm.console_log_path | default(libvirt_vm_default_console_log_dir + '/' + vm.name + '-console.log', true) }}"
29+
console_log_path: >-
30+
{{ vm.console_log_path |
31+
default(libvirt_vm_default_console_log_dir + '/' + vm.name + '-console.log', true) }}
3032
machine_default: "{{ none if libvirt_vm_engine == 'kvm' else 'pc-1.0' }}"
3133
machine: "{{ vm.machine | default(machine_default, true) }}"
3234
cpu_mode_default: "{{ 'host-passthrough' if libvirt_vm_engine == 'kvm' else 'host-model' }}"

0 commit comments

Comments
 (0)