Fix CONDITIONAL_BARE_VARS deprecation warning in ansible 2.8
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
- import_tasks: "{{ role_path }}/tasks/start.yml"
|
||||
when: run_start
|
||||
when: run_start|bool
|
||||
tags:
|
||||
- start
|
||||
|
||||
- import_tasks: "{{ role_path }}/tasks/stop.yml"
|
||||
when: run_stop
|
||||
when: run_stop|bool
|
||||
tags:
|
||||
- stop
|
||||
|
Reference in New Issue
Block a user