Files
cicd/playbooks/roles/set-users
2025-07-20 14:53:12 +03:00
..
2025-07-20 14:53:12 +03:00
2025-07-20 14:53:12 +03:00
2025-07-20 14:53:12 +03:00
2025-07-20 14:53:12 +03:00
2025-07-20 14:53:12 +03:00
2025-07-20 14:53:12 +03:00
2025-07-20 14:53:12 +03:00

Add user

  • add new user
  • add user into groups
  • configure passwordless access for user

Requirements

Role Variables

  • main_user
  • groups(list)
  • user_password

Dependencies

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: username.rolename, x: 42 }

License

BSD

Author Information