Re: [ansible-project] Declare variable user created with limits

2018-12-05 Thread COUSSI Matthieu
Hi, Thx for you reply. I'm gonna to test. Matt Le mardi 4 décembre 2018 10:31:50 UTC+1, Piotr Owcarz a écrit : > > Hi > > It's hard to get what your goal is... You mean something like this? > > struct : > users: >- name: user1 > uid: 2001 > shell: /bin/sh > group: grp1 >

Re: [ansible-project] Declare variable user created with limits

2018-12-04 Thread Piotr Owcarz
Hi It's hard to get what your goal is... You mean something like this? struct : users: - name: user1 uid: 2001 shell: /bin/sh group: grp1 groups: grp2 home: /home/user1 limits: - { type: soft, item: nofile, value: 65536} - { type: soft, item: nofil

[ansible-project] Declare variable user created with limits

2018-12-03 Thread COUSSI Matthieu
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: grp