version Issue

I got the below error while running the playbook for enabling port on AWS server. could please provide the solution?
Python Module not found: firewalld and its python module are required for this module,version 0.2.11 or newer required (0.3.9 or newer for offline operations)

The solution is to install firewalld and its python module at the appropriate
version level.

Antony.