You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
456 B

8 years ago
8 years ago
  1. ---
  2. - name: User | Create User Group
  3. group: name={{user.group|default(user.name)}} system={{user.system|default(omit)}}
  4. - name: User | Create User
  5. user:
  6. comment: "{{user.comment|default(omit)}}"
  7. createhome: "{{user.create_home|default(omit)}}"
  8. group: "{{user.group|default(user.name)}}"
  9. home: "{{user.home|default(omit)}}"
  10. shell: "{{user.shell|default(omit)}}"
  11. name: "{{user.name}}"
  12. system: "{{user.system|default(omit)}}"