Make management of Firefox CSS optional

This commit is contained in:
2020-02-25 21:16:04 +01:00
parent f5afa1efca
commit c6efec2e5f
3 changed files with 4 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ users:
vt: 1
firefox_profiles:
- name: lu9k8ywl.default
manage_css: false
screen:
1: eDP-1

View File

@@ -11,6 +11,7 @@ users:
vt: 1
firefox_profiles:
- name: 3wmp9hdb.default-1565075150057
manage_css: true
- name: hannes-private
group: tpp
vt: 2

View File

@@ -301,7 +301,7 @@
#sidebar {
width: 400px !important;
}
with_items: "{{ user.firefox_profiles }}"
when: user.firefox_profiles is defined
when: item.manage_css
with_items: "{{ user.firefox_profiles | default [] }}"
tags:
- firefox