Skip to content

Commit e30ce75

Browse files
committed
fix ansible jinja template warnings
1 parent e75fae6 commit e30ce75

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ansible/monitoring.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
# i.e. if prometheus_version isn't defined we don't care, so use what's already there
7373
set_fact:
7474
prometheus_skip_install: "{{ false if prometheus_version is defined else true }}"
75-
when: "{{ (prometheus_binaries.results | map(attribute='stat') | map(attribute='exists')) + [prometheus_skip_install is not defined] }}"
75+
when: "(prometheus_binaries.results | map(attribute='stat') | map(attribute='exists')) + [prometheus_skip_install is not defined]"
7676
- import_role:
7777
name: cloudalchemy.prometheus
7878

ansible/portal.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- import_role:
2020
name: openondemand
2121
tasks_from: vnc_compute.yml
22-
when: "{{ appliances_mode != 'configure' }}" # is run during build
22+
when: appliances_mode != 'configure' # is run during build
2323

2424
- hosts: openondemand_jupyter
2525
tags:
@@ -31,4 +31,4 @@
3131
- import_role:
3232
name: openondemand
3333
tasks_from: jupyter_compute.yml
34-
when: "{{ appliances_mode != 'configure' }}" # is run during build
34+
when: appliances_mode != 'configure' # is run during build

0 commit comments

Comments
 (0)