How do I make changes to the below complex when condition without breaking
the code in order to address the warning.
- debug: msg: "Hi"
when: entrycurrdb.stdout.find("{{
hostvars['localhost']['BASEPATH_FINAL'] }}/{{ vars[(item |
splitext)[1].split('.')[1] | default('exe')] }}/{{
How do I make changes to the below complex when condition without breaking
the code in order to address the warning.
- debug: msg: "Hi"
when: entrycurrdb.stdout.find("{{
hostvars['localhost']['BASEPATH_FINAL'] }}/{{ vars[(item |
splitext)[1].split('.')[1] | default('exe')] }}/{{