StackStorm / st2-packages

StackStorm deb/rpm packages (automated docker build pipeline)
https://stackstorm.com/
27 stars 59 forks source link

Improve EL8 firewall management #650

Closed arm4b closed 4 years ago

arm4b commented 4 years ago

Discovered in https://github.com/StackStorm/ansible-st2/pull/261 discussion.

Instead of checking for EC2 instance in our opinionated curl-bash one-line installer, PR improves the logic so we try to use the firewall-cmd binary when it's present in the system.

This rule is intended to work in any environment, not just specific cloud, VMs, bare-metal etc.