aboutsummaryrefslogtreecommitdiffstats
path: root/roles/users
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2019-10-05 18:05:32 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2019-10-05 18:05:32 +0200
commit32b8d0e6b71f47ad763db5b71e160337a05939b2 (patch)
treeb45c0701fcd89067d9c98e9380cdf0ccf8a77825 /roles/users
parent53eb0a6aa926bb6a52da163c0e6af9bc683af7ea (diff)
downloadlabitat-ansible-32b8d0e6b71f47ad763db5b71e160337a05939b2.tar.gz
labitat-ansible-32b8d0e6b71f47ad763db5b71e160337a05939b2.tar.xz
labitat-ansible-32b8d0e6b71f47ad763db5b71e160337a05939b2.zip
users: esmil: update keys and bashrc
Diffstat (limited to 'roles/users')
-rw-r--r--roles/users/defaults/main.yml5
-rw-r--r--roles/users/files/esmil/bashrc2
-rw-r--r--roles/users/files/esmil/bashrc_root2
3 files changed, 8 insertions, 1 deletions
diff --git a/roles/users/defaults/main.yml b/roles/users/defaults/main.yml
index 75a0fb4..b40fb62 100644
--- a/roles/users/defaults/main.yml
+++ b/roles/users/defaults/main.yml
@@ -6,9 +6,12 @@ userdata:
tasks: true
password: '$6$1RwgF85UfHCIPzNd$Ow9pn9muQ2raoB0andBcrDkB9UqqmXylqWVXDsxgFqhHc5uNk7MZdhtGnz9P5UOSwadEpHkSG0VrP9eOPM8nj0'
authorized_keys:
- - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEUS/4G4YgI7LeJll8BUHCcdkCK3klSxzhqEY3X2df5+ esmil@stitch'
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIESZrJ5ystrdDYZok0jCJKePa2JUL+t2DrbkMWwNheeQ esmil@plastik2'
+ - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGvUI9Gme812b75R//zEGJm5pURhaJpWCn7lwMuOrVC esmil@alcazar'
- 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHo3wq70/mMiOTgNdijxDp7CjrclMOM9f7JSnMtqSevM esmil@matahari'
+ - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICafi2jClWwIGo/iU32wJFGAINKKuCfID5uWk+brl4Lo esmil@hercules'
+ - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINiWgFrvPf1h5kTfQA8yR9Rvo5OO7iiPt0cpqMro7+tv esmil@oticon'
+ - 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJDcOdiCyJgWqTW3olOo8ufLraQqfDMHdO6TCcuvesQS esmil@evo'
'ast':
name: 'Asbjørn Sloth Tønnesen'
diff --git a/roles/users/files/esmil/bashrc b/roles/users/files/esmil/bashrc
index 39a2c53..dc0c80a 100644
--- a/roles/users/files/esmil/bashrc
+++ b/roles/users/files/esmil/bashrc
@@ -1,6 +1,8 @@
# if not running interactively, don't do anything
[[ $- != *i* ]] && return
+set -o vi
+
export PS1='\[\e[1;32m\]\u\[\e[00m\]@\[\e[0;32m\]\h\[\e[1;34m\]\w\[\e[00m\]\$ '
unset PROMPT_COMMAND
export -n PROMPT_COMMAND
diff --git a/roles/users/files/esmil/bashrc_root b/roles/users/files/esmil/bashrc_root
index 354ff57..4214a2a 100644
--- a/roles/users/files/esmil/bashrc_root
+++ b/roles/users/files/esmil/bashrc_root
@@ -1,6 +1,8 @@
# if not running interactively, don't do anything
[[ $- != *i* ]] && return
+set -o vi
+
export PS1='\[\e[1;31m\]\u\[\e[00m\]@\[\e[0;31m\]\h\[\e[1;34m\]\w\[\e[00m\]\$ '
unset PROMPT_COMMAND
export -n PROMPT_COMMAND