Skip to content

Commit

Permalink
fix "Conditional is marked as unsafe, and cannot be evaluated." (#4024)
Browse files Browse the repository at this point in the history
  • Loading branch information
tchernomax authored Jan 20, 2024
1 parent d7ead56 commit f22d94b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deployments/ansible/roles/collector/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

- name: Make sure access token is provided
ansible.builtin.assert:
that: "'{{ splunk_access_token }}'"
that:
- splunk_access_token
fail_msg: splunk_access_token variable must be provided

- name: Make sure host OS is supported
Expand Down

0 comments on commit f22d94b

Please sign in to comment.