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.

24 lines
558 B

  1. ---
  2. addusers:
  3. etcd:
  4. name: etcd
  5. comment: "Etcd user"
  6. createhome: yes
  7. home: "/var/lib/etcd"
  8. system: yes
  9. shell: /bin/nologin
  10. kube:
  11. name: kube
  12. comment: "Kubernetes user"
  13. shell: /sbin/nologin
  14. system: yes
  15. group: "{{ kube_cert_group }}"
  16. createhome: no
  17. adduser:
  18. name: "{{ user.name }}"
  19. group: "{{ user.name|default(None) }}"
  20. comment: "{{ user.comment|default(None) }}"
  21. shell: "{{ user.shell|default(None) }}"
  22. system: "{{ user.system|default(None) }}"
  23. createhome: "{{ user.createhome|default(None) }}"