Skip to content

rudub/user-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOLUTION

  • This solution has been implemented with the combination of SHELL and ANSIBLE.
  • Shell script is providing the wrapper script to invoke ansible script.
  • Shell script will perform below actions via menu driven program.
  • ADD USER
  • LIST USER
  • DELETE USER

Assumption

  • Ansible is installed in Ubuntu server.(Ubuntu 16.04)
  • Creating ssh-key pair in the local directory, later on private key can be emailed to user.

Installation steps

  • git clone https://github.com/ruchi183/user-management.git
  • edit hosts file to add server entries like below.
  • X.X.X.X ansible_user=xyz ansible_ssh_private_key_file=abc.pem--->(tested on aws)
  • chmod 775 user-manage.sh
  • sh ./user-manage.sh
  • Follow men driven program.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages