diff --git a/handlers/main.yml b/handlers/main.yml index 042a0bf..2943c86 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -2,9 +2,7 @@ # handlers file for firewall - name: reload firewall service: - name: "{{ firewall_service[ansible_distribution ~ '-' ~ ansible_distribution_major_version] - | default(firewall_service[ansible_distribution] - | default(firewall_service['default'])) }}" + name: "{{ firewall_service }}" state: reloaded when: