summaryrefslogtreecommitdiff
path: root/ansible/roles/trove-setup/tasks/users.yml
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-04 09:56:42 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-04 09:56:42 +0000
commit7134fb36f7a1c62111d2eaea5c5b32cf2169cec6 (patch)
tree37d06bfa42de53909810ebbc30002e23bc10c500 /ansible/roles/trove-setup/tasks/users.yml
parent98cf2ab9c80c8efd0df9086353972e7dc73f40b8 (diff)
parentc9d4f2c8d87115fe6cd48f586de82b252a357c45 (diff)
downloadtrove-setup-7134fb36f7a1c62111d2eaea5c5b32cf2169cec6.tar.gz
Merge branch 'sam/remove-mason-hook'
Reviewed-By: Paul Sherwood <paul.sherwood@codethink.co.uk> Reviewed-By: Mike Smith <mike.smith@codethink.co.uk>
Diffstat (limited to 'ansible/roles/trove-setup/tasks/users.yml')
-rw-r--r--ansible/roles/trove-setup/tasks/users.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/ansible/roles/trove-setup/tasks/users.yml b/ansible/roles/trove-setup/tasks/users.yml
index c1ab866..e0a27c8 100644
--- a/ansible/roles/trove-setup/tasks/users.yml
+++ b/ansible/roles/trove-setup/tasks/users.yml
@@ -6,12 +6,11 @@
- name: Create the /home/lorry/.ssh folder
file: path=/home/lorry/.ssh state=directory owner=lorry group=lorry mode=0700
-- name: Create users (git, cache, mason) and ssh keys for them.
+- name: Create users (git, cache) and ssh keys for them.
user: name={{ item }} comment="Trove {{ item }} service" shell=/bin/bash generate_ssh_key=yes
with_items:
- git
- cache
- - mason
- name: Create known_hosts for all the users
shell: |
cat /etc/ssh/ssh_host_*_key.pub | cut -d\ -f1,2 | \
@@ -23,7 +22,6 @@
with_items:
- git
- cache
- - mason
- lorry
- name: Copy the lorry ssh private key