tripleo-quickstart-extras/roles/baremetal-prep-virthost/tasks/add_services_ports_firewalld.yml
Sandeep Yadav 48f1cdb604 Update baremetal-prep-virthost for Rhel8/C8
Rhel/Centos8 don't have bridge-utils utility. We have to create
network bridge using nmcli tool. Added template for RHEL8/C8
- add-provisioning-interface-os-major-version-8.sh.j2 and modified
logic in playbook to call relevant template based on OS Version.

We also set the required firewalld commands to allow proper network
traffic flow from undercloud to baremetal overcloud nodes.

Change-Id: I5e56b387283fa8deff857bcf3a39a007a3d876a3
2020-06-16 21:46:15 +05:30

14 lines
224 B
YAML

---
- name: ensure public firewalld services are added
become: true
firewalld:
zone: public
service: "{{ item }}"
permanent: true
state: enabled
with_items:
- tftp
- dhcp
- dhcpv6
- dns