ansible: deploy publish-to-sns to servo-vcs-sync (
bug 1379559) r?gps
MozReview-Commit-ID: 6T1zpyt6Rf7
--- a/ansible/roles/vcs-sync/tasks/servo-sync.yml
+++ b/ansible/roles/vcs-sync/tasks/servo-sync.yml
@@ -79,16 +79,24 @@
become_user: servo-sync
- name: hgrc for servo-sync user
copy: src=servo-hgrc
dest=/home/servo-sync/.hgrc
mode=0640
become_user: servo-sync
+- name: copy sns notification handler
+ copy: src={{ vct }}/scripts/publish-to-sns
+ dest=/home/servo-sync/publish-to-sns
+ owner=servo-sync
+ group=servo-sync
+ mode=0755
+ become_user: servo-sync
+
- name: seed Servo Git clone with existing conversion
command: /usr/bin/git clone --mirror {{ servo_linear_git_push_url | mandatory }} /home/servo-sync/servo.git creates=/home/servo-sync/servo.git
become_user: servo-sync
- name: seed Servo Mercurial repo with existing conversion
command: /home/servo-sync/venv/bin/hg clone -U {{ servo_linear_hg_url }} /home/servo-sync/servo-linear creates=/home/servo-sync/servo-linear
become_user: servo-sync