Samuli Silvius | 7cf19b2 | 2019-03-24 13:36:08 +0200 | [diff] [blame] | 1 | --- |
2 | - name: Install firewall | ||||
3 | package: | ||||
4 | name: "{{ firewall.package_name[ansible_facts.os_family] }}" | ||||
5 | state: present | ||||
6 | |||||
7 | - name: Start and enable firewall | ||||
8 | service: | ||||
9 | name: "{{ firewall.package_name[ansible_facts.os_family] }}" | ||||
10 | state: started | ||||
11 | enabled: true |