Hi, I have a variable with this structure where i declare the users that i have to create.
struct : users: - { name: user1, uid: 2001, shell: /bin/sh, group: grp1, groups: grp2, home: /home/user1 } - { name: user2, uid: 2002, shell: /bin/sh, group: grp1, groups: grp2, home: /home/user2 } - { name: user3, uid: 2002, shell: /bin/sh, group: grp1, groups: grp2, home: /home/user3 } For each user, i want to define the limits but i don't know how to declare this in the structure of my variable "struct". - { type: soft, item: nofile, value: 65536} - { type: hard, item: nofile, value: 65536} - { type: soft, item: nproc, value: 16000} - { type: hard, item: nproc, value: 16000} Thanks for your help, Matt -- 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 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/7c319635-d955-43db-b65b-e6000fc48e58%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.