AnsweredAssumed Answered

Does anybody developed an Ansible playbook for creating users on GAIA ?

Question asked by Joachim Zint on Apr 10, 2017
Latest reply on Nov 8, 2018 by Ash Sidhu


I mean with the GAIA specifics and not "only" the Linux standards like the following example.

 

---
- name: Create user
  user
: name=user shell=/bin/bash home=/srv/user groups=admin,sudo generate_ssh_key=yes ssh_key_bits=2048
- name: Set password to user
  shell
: echo user:plain_text_password | sudo chpasswd
  no_log
: True

Outcomes