Hi Forum,
I configure/setup a Proxmox node using Ansible. When I copy a host.fw file to /etc/pve/nodes/<hostname>/host.fw, all rules are gone in the UI. I need to add them again in the UI. Also restarting pve-firewall on that node doesn't change anything. If I do manual changes within the shell (edit the file, add a line), the changes is reflected also in the UI. Whatever ansible does, it makes the node loose the rules, at least in the UI. I even copied the contents of the file to the file copied by Ansible to avoid typos, and of course I set the permissions to 0640/root:www-data, just like they are after I change rules in the UI.
Do I need to reload something? Is it a security mechanism?
Cheers, Chris
I configure/setup a Proxmox node using Ansible. When I copy a host.fw file to /etc/pve/nodes/<hostname>/host.fw, all rules are gone in the UI. I need to add them again in the UI. Also restarting pve-firewall on that node doesn't change anything. If I do manual changes within the shell (edit the file, add a line), the changes is reflected also in the UI. Whatever ansible does, it makes the node loose the rules, at least in the UI. I even copied the contents of the file to the file copied by Ansible to avoid typos, and of course I set the permissions to 0640/root:www-data, just like they are after I change rules in the UI.
Do I need to reload something? Is it a security mechanism?
Cheers, Chris