From 0079206268e9ef66e4a870c6ca0637fcedaa6723 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 21 Sep 2015 20:50:30 +0000 Subject: [PATCH] Need mod_wsgi too. --- playbooks/hosts/pdc-devnode.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/playbooks/hosts/pdc-devnode.yml b/playbooks/hosts/pdc-devnode.yml index 57f166c0fd..4af6b4958e 100644 --- a/playbooks/hosts/pdc-devnode.yml +++ b/playbooks/hosts/pdc-devnode.yml @@ -1,16 +1,29 @@ -- name: Install and configure pdc from copr +- name: Set up basics for our dev node. hosts: pdc-devnode gather_facts: True - vars_files: - /srv/web/infra/ansible/vars/global.yml - "/srv/private/ansible/vars.yml" - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + handlers: + - include: "{{ handlers }}/restart_services.yml" roles: - base - apache - - pdc + tasks: + - include: "{{ tasks }}/mod_wsgi.yml" + +- name: Install and configure pdc from copr + hosts: pdc-devnode + gather_facts: True + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - "/srv/private/ansible/vars.yml" + - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml handlers: - include: "{{ handlers }}/restart_services.yml" + + roles: + - pdc