FAQ
Hi,

I wish to pass in a parameter for a file, e.g:* /var/log/atlas/service.log*

The directory at */var/log/atlas/* must also be created before the
application writes to this file.

Is there a way to get the directory from the path, perhaps with a jinja2
filter? Or if anyone knows of a filter than can do this, that would be
awesome.

Thanks,

Steve


--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/281a861d-0aa1-493c-b6ee-94bab0dd35f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupansible-project @
postedAug 7, '14 at 12:28a
activeAug 7, '14 at 12:28a
posts1
users1

1 user in discussion

Steven Ringo: 1 post

People

Translate

site design / logo © 2021 Grokbase