From 668c30a61c4adf53f29fd71c58581ca5befa9f90 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Tue, 2 Jul 2013 18:27:45 +0000 Subject: [PATCH] add some hrf deploy tasks. --- .../hosts/hrf.cloud.fedoraproject.org.yml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/playbooks/hosts/hrf.cloud.fedoraproject.org.yml b/playbooks/hosts/hrf.cloud.fedoraproject.org.yml index c51c66238a..d26445e462 100644 --- a/playbooks/hosts/hrf.cloud.fedoraproject.org.yml +++ b/playbooks/hosts/hrf.cloud.fedoraproject.org.yml @@ -25,3 +25,27 @@ handlers: - include: $handlers/restart_services.yml + +- name: deploy hrf + hosts: hrf.cloud.fedoraproject.org + user: root + gather_facts: True + + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - ${private}/vars.yml + - ${vars}/${ansible_distribution}.yml + + tasks: + - name: install deps + yum: state=present name=$item + with_items: + - httpd + - python-flask + - python-fedmsg-meta-fedora-infrastructure + - fedmsg + - mod_wsgi + - htop # not a dep, but handy + - git + - name: clone the flask repo + git: repo=git://github.com/fedora-infra/hrf.git dest=/srv/www/