# Ansible firewalld module question

**URL:** <https://forum.ansible.com/t/ansible-firewalld-module-question/31995>\
**Category:** Ansible Project\
**Created:** [January 16, 2020, 5:20pm UTC](https://forum.ansible.com/t/ansible-firewalld-module-question/31995 "2020-01-16T17:20:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xinhuan\_Zheng](https://avatars.discourse-cdn.com/v4/letter/x/a88e57/32.png) [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Post date:** [January 16, 2020, 5:20pm UTC](https://forum.ansible.com/t/ansible-firewalld-module-question/31995/1 "2020-01-16T17:20:17Z")

</div>

Hello,

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

```auto
- 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

```
