summaryrefslogtreecommitdiff
path: root/ansible/roles/trove-setup/tasks/gitano-mason-setup.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/gitano-mason-setup.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/gitano-mason-setup.yml')
-rw-r--r--ansible/roles/trove-setup/tasks/gitano-mason-setup.yml16
1 files changed, 0 insertions, 16 deletions
diff --git a/ansible/roles/trove-setup/tasks/gitano-mason-setup.yml b/ansible/roles/trove-setup/tasks/gitano-mason-setup.yml
deleted file mode 100644
index 8439078..0000000
--- a/ansible/roles/trove-setup/tasks/gitano-mason-setup.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-# Depends on:
-# - gitano-setup.yml
----
-- name: Check if mason has a sshkey configured in gitano (This task can fail)
- shell: su git -c 'ssh git@localhost as mason sshkey' 2>&1 | grep WARNING
- register: gitano_mason_key
- changed_when: False
- ignore_errors: True
-
-# If distbuild user doesn't have an sshkey configured
-- file: path=/home/git/keys state=directory owner=git group=git
- when: gitano_mason_key|success
-- copy: src={{ MASON_SSH_PUBKEY }} dest=/home/git/keys/mason.key.pub mode=0644
- when: gitano_mason_key|success
-- shell: su git -c 'ssh git@localhost as mason sshkey add trove < /home/git/keys/mason.key.pub'
- when: gitano_mason_key|success