User (Ansible)

From wikieduonline
Jump to navigation Jump to search
user:
ansible.builtin.user:
  name: YOUR_USERNAME
ansible.builtin.user:
  name: YOUR_USERNAME
  state: present

journalctl

Apr 05 07:08:53 YOUR_SERVER python3[1258066]: ansible-user Invoked with name=YOUR_USERNAME group=devops shell=/bin/bash state=present non_unique=False force=False remove=False create_home=True system=False move_home=False append=False ssh_key_bits=0 ssh_key_type=rsa ssh_key_comment=ansible-generated on confluence.bt.internal update_password=always uid=None groups=None comment=None home=None password=NOT_LOGGING_PARAMETER login_class=None hidden=None seuser=None skeleton=None generate_ssh_key=None ssh_key_file=None ssh_key_passphrase=NOT_LOGGING_PARAMETER expires=None password_lock=None local=None profile=None authorization=None role=None

See also[edit]