Hi,

Related to the recent mount deprecation thread:

- command: mount /srv
  when: "'/srv' not in [x['mount'] for x in ansible_mounts]"

But it seems that when statement is too complex. Any ideas how to express 
that in a valid way?

Ideas about how to use mount: state=mounted without touching fstab also 
welcome

Cheers,
Paul

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/872c67cf-9a08-47ba-b0a4-3b479f6cd213%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to