ITPLAT-428 Need to specify | bool to ensure the value is read as a boolean. This was warned about in previous versions: "[DEPRECATION WARNING]: evaluating false as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. This feature will be removed in version 2.12." Perhaps it was removed earlier. Handled both deprecation warnings found in previous runs.

This commit is contained in:
Denise Unterwurzacher
2021-01-21 12:35:40 -06:00
parent c3b04803c5
commit edaf560a40
2 changed files with 2 additions and 2 deletions

View File

@@ -269,4 +269,4 @@
include_tasks: "jira-servicedesk_as_obr.yml"
when:
- atl_install_jsd_as_obr is defined
- atl_install_jsd_as_obr
- atl_install_jsd_as_obr | bool

View File

@@ -4,7 +4,7 @@
service:
name: "{{ atl_systemd_service_name }}"
state: restarted
when: atl_startup_restart
when: atl_startup_restart | bool
no_log: true
- name: Enable Product