Open tjanez opened 9 years ago
Hi ,
Could you please split the task into two , eventhough the below is a valid jinja, we dont encourage usning conditionals within the {{ }}.
so the task woudl have
template: src=redis-2.8.conf.j2 when:redis_version.stdout | search("v=2.8")
Similarly for the other pr also please.
Sure, no problem. I'll update both PRs.
@bennojoy, I updated the PR. Please, review.
@bennojoy, ping?
Ansible checks if the version of Redis is 2.8.x and uses a different configuration template if it is.