and now we can rebuild bastion-comm.qa bwahahahaha
This commit is contained in:
parent
95832895c0
commit
7743b393dd
2 changed files with 12 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
||||||
- name: make the servers
|
- name: make the servers
|
||||||
hosts: bastion:!bastion-comm01.qa.fedoraproject.org
|
hosts: bastion
|
||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
|
|
||||||
|
@ -43,3 +43,14 @@
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- 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
|
||||||
|
|
|
@ -8,10 +8,3 @@ RewriteRule ^(.*)$ https://whatcanidoforfedora.org%{REQUEST_URI} [L,R=301]
|
||||||
ProxyPass / http://asknot-threebean.rhcloud.com/
|
ProxyPass / http://asknot-threebean.rhcloud.com/
|
||||||
ProxyPassReverse / http://asknot-threebean.rhcloud.com/
|
ProxyPassReverse / http://asknot-threebean.rhcloud.com/
|
||||||
#{% if env == "production" %}
|
#{% 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 %}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue