It's handy to be able to create users that *don't* have sudo rights.
Here at Stanford we use this to add users to our VPC bastion box (ssh
proxy) so these users can use this machine for ssh tunneling, but I
don't want to give those users the keys to the kingdom.
This let's me configure a playbook like this.
roles:
- common
- supervisor
- role: gh_users
gh_users:
- su1
- su2
- su3
gh_users_no_sudo:
- normal1
- normal2
The new gh_users_no_sudo list can be empty.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| edx-east | Loading commit data... | |
| edx-west | Loading commit data... | |
| files | Loading commit data... | |
| group_vars | Loading commit data... | |
| library | Loading commit data... | |
| roles | Loading commit data... | |
| secure_example | Loading commit data... | |
| util | Loading commit data... | |
| vagrant | Loading commit data... | |
| ansible.cfg | Loading commit data... | |
| cloudformation.yml | Loading commit data... | |
| create_role.yml | Loading commit data... | |
| ec2.ini | Loading commit data... | |
| ec2.py | Loading commit data... | |
| edx_jenkins_tests.yml | Loading commit data... | |
| edx_notifier.yml | Loading commit data... | |
| edx_provision_test.yml | Loading commit data... | |
| edx_sandbox.yml | Loading commit data... | |
| edxapp_ref.yml | Loading commit data... | |
| edxapp_rolling_example.yml | Loading commit data... | |
| inventory.ini | Loading commit data... | |
| jenkins-inventory.ini | Loading commit data... | |
| jenkins_master.yml | Loading commit data... | |
| jenkins_worker.yml | Loading commit data... | |
| site.yml | Loading commit data... | |
| stage-ansible.cfg | Loading commit data... | |
| stage-ssh-config | Loading commit data... | |
| vagrant-devstack.yml | Loading commit data... | |
| vagrant-fullstack.yml | Loading commit data... | |
| vagrant-shortstack-xml.yml | Loading commit data... | |
| vagrant-shortstack.yml | Loading commit data... |