Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux localusers

Build Status

Take a list of users and use the ansible user module to manage local accounts.

Password hashes for most linux distributions can be generated as documented here

Role Variables

    linux_localusers__users:
        - {user: 'localadmin', comment: 'Local Administrator', state: 'present', groups: 'wheel', password: '$6$YPQXqTxJc6IEhaSl$of8UJUO6sXkAri2920MzGySrJ.uvHFYNd0ycLtwCmngQyIjg3EY9VG3uUyAfspPOV6eMBO5sVSrBYaDFz7Hxz0'}

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: classroom
      roles:
         - linux_localusers

License

GPLv3

Author Information

Part of the ANTS Framework

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors