From 4d4c3509914cacb571901840780d845ee32d0769 Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 19 Nov 2020 14:16:38 +0100 Subject: Lower task messages and clear typo --- roles/pf/tasks/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'roles') 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 -- cgit v1.2.3