Ansible firewalld module question

Hello,

In Ansible firewalld module: https://docs.ansible.com/ansible/latest/modules/firewalld_module.html?highlight=firewalld, in the examples like below:

- firewalld:
    service: https
    permanent: yes
    state: enabled

We want to make it more descriptive in our role's tasks/main.yml file, since it is part of a large playbook:

- name: Firewalld open https
  firewalld:
    service: https
    permanent: yes
    state: enabled

However, it doesn't work in the large playbook which calls that role. Does anybody know why?

Thank you,

- Xinhuan