Thank you, this did it: - name: set fact for group set_fact: group_id: "{{ getent_group.monitor[1] }}" - name: Add proc to fstab and mount it mount: path: /proc src: proc fstype: proc opts: "defaults,hidepid=2,gid={{ group_id }}" dump: 0 passno: 0 backup: true state: mounted
-- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cebb1b7f-0c01-41b6-a419-f72ab83832deo%40googlegroups.com.