Commit 6153b513 authored by Imran Hussain's avatar Imran Hussain

Add ansible playbook to give people full root access across sucs

parent 48ceffee
# want to give someone full root access across sucs?
# well then you've come to the right place!
# if you want to revoke someones root access then add a '#' infront of the key
# IN THE KEY FILE, untill I work out something better that can maybe use exclusive
#Hopefully one day we'll be able to uncomment this...
#- hosts: all
- hosts: gw
tasks:
- name: deploy ssh keys for root access!
authorized_key:
user: root
state: present
key: "{{ item }}"
with_file:
- ssh_keys/imranh
#- ssh_keys/alice
#- ssh_keys/bob
\ No newline at end of file
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDV2g/ns3Drtclt7DI1LvsXja29HySTJoRei/sjYjc+jHAxlIH5xBdqayr4Jpz1nZboYnTuHzIaS7Pt3IkaOAQCFtM832GXZjUKwtYsGhfEJmXl8WHwUiibeDdZaMo2TUWA29Jc5JTAw+01L7aznPgc17/a9Q0Dv7N9CSlTF4773KefLp2VYKncU0pQyV1G51/1UAIxY0rfu5L52Ul/ekmz8xVHAB1EzBilzVImmDxdym4otyxDeiNDsJsDUpKDz8UqnvMTQxQDXa+Y83SBDFF4x2apqZPYMK3HxxKJpuqdxA2sfU4pQtIY2msc7HTySTcD+p2FfGt9609EcUXx8htv imranh@silver.sucs.swan.ac.uk
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment