Modify Multiple EC2 Security Group Rules

I’m attempting to use Ansible ec2_group to modify or append EC2 Security Group rules. I tried to populate variables in the playbook used for the names and descriptions of their corresponding security groups with either variables defined in var_files or using just a standard loop containing simple lists of strings. However, neither way worked. I’d highly appreciate it if someone can help out.

My playbook 1: