-added firefox role

-attempt again to disable screensaver
This commit is contained in:
Michael Pellegrino
2022-07-01 13:30:21 -04:00
parent 42c6f18bd7
commit 85e7e96c08
9 changed files with 69 additions and 19 deletions

View File

@@ -0,0 +1 @@
user_pref("media.autoplay.default", 0);

View File

@@ -0,0 +1,18 @@
---
- name: install firefox
become: true
package:
name: firefox
state: present
- name: initialze firefox profile
command: /usr/bin/firefox --headless -CreateProfile "vtomb /home/{{ def_username }}/snap/firefox/common/.mozilla/firefox/vtomb"
- name: copy firefox user prefs
copy:
src: "{{ role_path }}/files/user.js"
dest: "/home/{{ def_username }}/snap/firefox/common/.mozilla/firefox/vtomb"
owner: "{{ def_username }}"
group: "{{ def_username }}"