apply the firewall and ifcfg changes to prod openqa workers
This commit is contained in:
parent
7c938bc830
commit
4bb98b8c30
2 changed files with 21 additions and 6 deletions
|
@ -1,14 +1,13 @@
|
||||||
|
gw: 10.5.124.254
|
||||||
openqa_workers: 4
|
openqa_workers: 4
|
||||||
openqa_hostname: openqa-stg01.qa.fedoraproject.org
|
openqa_hostname: openqa-stg01.qa.fedoraproject.org
|
||||||
gw: 10.5.124.254
|
openqa_key: "{{ stg_openqa_apikey }}"
|
||||||
|
openqa_secret: "{{ stg_openqa_apisecret }}"
|
||||||
|
|
||||||
# for iptables rules...maybe other stuff in future? both staging
|
# for iptables rules...maybe other stuff in future? both staging
|
||||||
# and prod workers are in this group
|
# and prod workers are in this group
|
||||||
host_group: openqa-workers
|
host_group: openqa-workers
|
||||||
|
|
||||||
openqa_key: "{{ stg_openqa_apikey }}"
|
|
||||||
openqa_secret: "{{ stg_openqa_apisecret }}"
|
|
||||||
|
|
||||||
# firewall rules to allow openQA openvswitch guests to communicate
|
# firewall rules to allow openQA openvswitch guests to communicate
|
||||||
custom_rules: [
|
custom_rules: [
|
||||||
'-A FORWARD -i br0 -j ACCEPT',
|
'-A FORWARD -i br0 -j ACCEPT',
|
||||||
|
|
|
@ -1,9 +1,25 @@
|
||||||
|
gw: 10.5.124.254
|
||||||
openqa_workers: 4
|
openqa_workers: 4
|
||||||
openqa_hostname: openqa01.qa.fedoraproject.org
|
openqa_hostname: openqa01.qa.fedoraproject.org
|
||||||
gw: 10.5.124.254
|
|
||||||
|
|
||||||
openqa_key: "{{ prod_openqa_apikey }}"
|
openqa_key: "{{ prod_openqa_apikey }}"
|
||||||
openqa_secret: "{{ prod_openqa_apisecret }}"
|
openqa_secret: "{{ prod_openqa_apisecret }}"
|
||||||
|
|
||||||
|
# for iptables rules...maybe other stuff in future? both staging
|
||||||
|
# and prod workers are in this group
|
||||||
|
host_group: openqa-workers
|
||||||
|
|
||||||
|
# firewall rules to allow openQA openvswitch guests to communicate
|
||||||
|
custom_rules: [
|
||||||
|
'-A FORWARD -i br0 -j ACCEPT',
|
||||||
|
'-A FORWARD -m state -i eth0 -o br0 --state RELATED,ESTABLISHED -j ACCEPT',
|
||||||
|
'-A INPUT -i br0 -j ACCEPT'
|
||||||
|
]
|
||||||
|
|
||||||
|
# we do stuff with ifcfg that base doesn't understand. terrible, terrible
|
||||||
|
# stuff. seriously - it doesn't handle the openvswitch config well. so
|
||||||
|
# let's tell it to just configure eth0 for us and leave everything else
|
||||||
|
# alone.
|
||||||
|
ansible_ifcfg_whitelist: ['eth0']
|
||||||
|
|
||||||
deployment_type: prod
|
deployment_type: prod
|
||||||
freezes: false
|
freezes: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue