add tests to ensure expression for atl_startup_restart var in defaults is evaluated to boolean

This commit is contained in:
Lee Goolsbee
2021-02-05 15:44:15 -06:00
parent 1278cc6cf5
commit 520a881310
8 changed files with 121 additions and 5 deletions

View File

@@ -4,12 +4,16 @@
service:
name: "{{ atl_systemd_service_name }}"
state: restarted
when: atl_startup_restart
when:
- atl_startup_restart
- molecule_yml is not defined
no_log: true
- name: Enable Product
service:
name: "{{ atl_systemd_service_name }}"
enabled: true
when: atl_startup_enable
when:
- atl_startup_enable
- molecule_yml is not defined
no_log: true