Ok, I just googled a bit and I think I will only mount /tmp as tmpfs. I 
will not change the mount for /var/tmp.

So now I am using:
- name: mount tmp fs
  mount:
    src: "tmpfs"
    path: "{{ item }}"
    fstype: tmpfs
    opts: "defaults,noatime,nosuid,nodev,noexec,mode=1777"
    passno: "0"
    state: present
  with_items:
    - /tmp

Thanks a lot, you are awesome!

-- 
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/7a893f10-d0f0-47e6-acac-0a525a1d7f0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to