hghooks: add mozautomation to venv (
bug 1366667) r?gps
It would be rather useful if the commit hooks had access to our library of
commit parsing routines.
MozReview-Commit-ID: 5smb7uj11Ty
--- a/ansible/roles/hg-ssh/tasks/main.yml
+++ b/ansible/roles/hg-ssh/tasks/main.yml
@@ -117,16 +117,18 @@
owner=root
group=root
mode=0644
with_items:
- { venv: venv_pash, path: hghooks, pth: mozhghooks }
- { venv: venv_tools, path: hghooks, pth: mozhghooks }
- { venv: venv_pash, path: pylib/vcsreplicator, pth: vcsreplicator }
- { venv: venv_tools, path: pylib/vcsreplicator, pth: vcsreplicator }
+ - { venv: venv_pash, path: pylib/mozautomation, pth: mozautomation }
+ - { venv: venv_tools, path: pylib/mozautomation, pth: mozautomation }
- name: determine if v-c-t clone is present
stat: path=/var/hg/version-control-tools/.hg
register: vct_clone
- name: create v-c-t clone (server only)
command: /var/hg/venv_tools/bin/hg --config extensions.vcsreplicator=! clone https://hg.mozilla.org/hgcustom/version-control-tools /var/hg/version-control-tools
when: vct_dir.stat.exists == False and vct_clone.stat.exists == False