-
Notifications
You must be signed in to change notification settings - Fork 0
ambith/ssh-access
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
I have created new user called "ambith" and doing operation on that. ssh-access Grant/Revoke SSH access to a group of instances to a user. To add new user and grant SSH access. ansible-playbook -i inventory/ -e "action=grant" playbooks/ssh.yml To grant SSH access to an existing user. ansible-playbook -i inventory/ -e "action=grant" playbooks/ssh.yml --skip-tags=add To revoke SSH access from a user. ansible-playbook -i inventory/ -e "action=revoke" playbooks/ssh.yml --skip-tags=remove To remove user, hence revoke SSH access as well. ansible-playbook -i inventory/ -e "action=revoke" playbooks/ssh.yml
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published