Ansible 2.9 の firewalld モジュールで NIC の zone を変更しても permanent で永続化されない件

Ansible で Firewalld の設定を行ったところ、NIC の Zone の変更について、OS を再起動すると設定がリセットされる現象を確認しました。

具体的な例

環境

  • Ansible 2.9.10
  • CentOS 8.2 (2004)

Playbook

firewalld モジュールを使います。

- name: set eth0 internal
  firewalld:
    zone: internal
    interface: eth0
    permanent: yes
    state: enabled
    immediate: yes
“Ansible 2.9 の firewalld モジュールで NIC の zone を変更しても permanent で永続化されない件” の続きを読む