In Ansible for phantom/SOAR v7 is unhandled, only v5 and v6 is supported, I have tested code for v6 is working for v7 regex should be updated or new block added
https://github.com/splunk/attack_range/blob/develop/terraform/ansible/roles/phantom/tasks/main.yml