|
@@ -1,10 +1,18 @@
|
|
|
-- name: Install firewall package (ferm)
|
|
|
- apt: pkg={{ item }} state=installed update_cache=yes
|
|
|
+- name: 'Install firewall package (ferm)'
|
|
|
+ apt:
|
|
|
+ pkg: '{{ item }}'
|
|
|
+ state: 'installed'
|
|
|
+ update_cache: 'yes'
|
|
|
with_items:
|
|
|
- - linux-image-{{ facter_architecture }}
|
|
|
- - ferm
|
|
|
+ - 'linux-image-{{ facter_architecture }}'
|
|
|
+ - 'ferm'
|
|
|
|
|
|
-- name: Install firewall configuration (ferm.conf)
|
|
|
- template: src=ferm/ferm.conf.j2 dest=/etc/ferm/ferm.conf owner=root group=root mode=0644
|
|
|
+- name: 'Install firewall configuration (ferm.conf)'
|
|
|
+ template:
|
|
|
+ src: 'ferm/ferm.conf.j2'
|
|
|
+ dest: '/etc/ferm/ferm.conf'
|
|
|
+ owner: 'root'
|
|
|
+ group: 'root'
|
|
|
+ mode: '0644'
|
|
|
notify:
|
|
|
- - Apply firewall rules (ferm)
|
|
|
+ - 'Apply firewall rules (ferm)'
|