From 7743b393ddda3e9c4e1edd336caf6c6a50f3f2f3 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Thu, 30 Apr 2015 23:05:06 +0000 Subject: [PATCH] and now we can rebuild bastion-comm.qa bwahahahaha --- playbooks/groups/bastion.yml | 13 ++++++++++++- .../templates/whatcanidoforfedora-web.conf | 7 ------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/playbooks/groups/bastion.yml b/playbooks/groups/bastion.yml index d2aa164f09..bf063b16fb 100644 --- a/playbooks/groups/bastion.yml +++ b/playbooks/groups/bastion.yml @@ -1,5 +1,5 @@ - name: make the servers - hosts: bastion:!bastion-comm01.qa.fedoraproject.org + hosts: bastion user: root gather_facts: False @@ -43,3 +43,14 @@ handlers: - include: "{{ handlers }}/restart_services.yml" + +- name: configure bastion-qa + hosts: bastion-comm01.qa.fedoraproject.org + user: root + gather_facts: True + + tasks: + - name: install needed packages + yum: pkg={{ item }} state=present + with_items: + - ipmitool diff --git a/roles/fedora-web/whatcanidoforfedora/templates/whatcanidoforfedora-web.conf b/roles/fedora-web/whatcanidoforfedora/templates/whatcanidoforfedora-web.conf index 441d095317..78e92845ed 100644 --- a/roles/fedora-web/whatcanidoforfedora/templates/whatcanidoforfedora-web.conf +++ b/roles/fedora-web/whatcanidoforfedora/templates/whatcanidoforfedora-web.conf @@ -8,10 +8,3 @@ RewriteRule ^(.*)$ https://whatcanidoforfedora.org%{REQUEST_URI} [L,R=301] ProxyPass / http://asknot-threebean.rhcloud.com/ ProxyPassReverse / http://asknot-threebean.rhcloud.com/ #{% if env == "production" %} -#ProxyPass / http://66.226.72.63/ -#ProxyPassReverse / http://66.226.72.63/ -#{% else %} -## In staging we point to the staging version of the magazine -#ProxyPass / http://104.207.133.220/ -#ProxyPassReverse / http://104.207.133.220/ -#{% endif %}