From d4c59bd6c0595a3910b5ef78721ee465452eeeb4 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 31 Jan 2021 14:16:57 -0600 Subject: [PATCH] Add rc.conf and fstab settings for FreeBSD GUI + SSHFS. --- tasks/freebsd_gui.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tasks/freebsd_gui.yml b/tasks/freebsd_gui.yml index 05b9500..cfc4738 100644 --- a/tasks/freebsd_gui.yml +++ b/tasks/freebsd_gui.yml @@ -12,3 +12,24 @@ name: - "{{ evolution }}" state: absent + +- name: Add GNOME + SSHFS to rc.conf + blockinfile: + path: /etc/rc.conf + block: | + dbus_enable="YES" + hald_enable="YES" + gnome_enable="YES" + gdm_enable="YES" + + fusefs_enable="YES" + marker: "# {mark} Ansible for GNOME+SSHFS " + backup: yes + +- name: Add GNOME to fstab + blockinfile: + path: /etc/fstab + block: | + proc /proc procfs rw 0 0 + marker: "# {mark} Ansible for GNOME " + backup: yes