ckaserer.users

gplv3 Maintenance

ckaserer.users

The users role allows you to create users on your target node with random passwords.

First you need to install the role on the node from which you will execute ansible via

ansible-galaxy install ckaserer.users

Create Users

The playbook below creates two users, ckaserer and jdoe, and sets a random password for each user stored in their home directory as .password.

- hosts: localhost
  tasks:
    - name: "Include ckaserer.users"
      include_role:
        name: "ckaserer.users"
        vars:
          users: 
            - ckaserer
            - jdoe
About

create users and store the password in the users home folder

Install
ansible-galaxy install ckaserer.users
GitHub repository
License
gpl-3.0
Downloads
70
Owner
Anything related to Containers, CI/CD or general automation is fair game for him - give him a terminal and he is happy.