ansible/autoland: use mercurial-yum role to install Mercurial (
bug 1333616); r?glob
The code for installing Mercurial in the autoland role is redundant
with code in the mercurial-yum role. Let's consolidate it.
MozReview-Commit-ID: A9LKYSwnXrp
--- a/ansible/roles/autoland/meta/main.yml
+++ b/ansible/roles/autoland/meta/main.yml
@@ -1,2 +1,3 @@
---
-dependencies: []
+dependencies:
+ - mercurial-yum
--- a/ansible/roles/autoland/tasks/packages.yml
+++ b/ansible/roles/autoland/tasks/packages.yml
@@ -10,19 +10,8 @@
- libffi
- libffi-devel
- libpqxx-devel
- openssl-devel
- httpd
- mod_wsgi
- mod_ssl
- ca-certificates
-
-- name: download Mozilla rpms
- get_url: url=https://s3-us-west-2.amazonaws.com/moz-packages/CentOS7/{{ item.path }}
- dest=/var/tmp/{{ item.path }}
- sha256sum={{ item.sha256 }}
- with_items:
- - { path: mercurial-4.0.1-1.x86_64.rpm, sha256: 4ed004977d5447351dea0a0cf1229dc2c25a944971a04fd6a4d9ca56e0ff20c0 }
-
-- name: install Mozilla rpms
- command: yum localinstall -y /var/tmp/mercurial-4.0.1-1.x86_64.rpm
-