From aada471a79b7ddffb5e374f7497c28820fe1581c Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 31 Aug 2022 15:03:14 +0100 Subject: [PATCH] Create rc.conf file if it doesn't exist --- roles/freebsd/tasks/rc.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/freebsd/tasks/rc.yml b/roles/freebsd/tasks/rc.yml index ccc9c87..9562ff2 100644 --- a/roles/freebsd/tasks/rc.yml +++ b/roles/freebsd/tasks/rc.yml @@ -19,6 +19,7 @@ path: /etc/rc.conf.d/ansible-workstation regexp: '^ipv6_privacy=.*' line: 'ipv6_privacy="YES"' + create: yes - name: Set wlan0 arguments become: true ansible.builtin.lineinfile: