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.

27 lines
623 B

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