aboutsummaryrefslogtreecommitdiffstats
path: root/roles/pf
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-19 14:16:38 +0100
committerbinary <me@rgoncalves.se>2020-11-19 14:16:38 +0100
commit4d4c3509914cacb571901840780d845ee32d0769 (patch)
tree80edfa789a3e46a67165b600318177d57688e437 /roles/pf
parent8d135d2fdf0bc915d3b5ee3adeb4aafe02329490 (diff)
downloadinfrastructure-4d4c3509914cacb571901840780d845ee32d0769.tar.gz
Lower task messages and clear typo
Diffstat (limited to 'roles/pf')
-rw-r--r--roles/pf/tasks/main.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/pf/tasks/main.yml b/roles/pf/tasks/main.yml
index c48c728..4adc520 100644
--- a/roles/pf/tasks/main.yml
+++ b/roles/pf/tasks/main.yml
@@ -3,22 +3,22 @@
---
-- name: Generate pf configuration
+- name: generate pf configuration
template:
src: templates/pf.conf.j2
dest: /etc/pf.conf
- owner: root
+ owner: "{{ user_root }}"
group: "{{ group_root }}"
- mode: "0600"
+ mode: 0600
-- name: Enable pf
+- name: enable pf
shell: /sbin/pfctl -e
ignore_errors: true
-- name: Restart pf
+- name: restart pf
shell: /sbin/pfctl -f /etc/pf.conf
-- name: Test ssh connection on new pf rule
+- name: test ssh connection on new pf rule
wait_for:
port: 22
delay: 2
remember that computers suck.