Migrate set_fact to FQCN.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# Temporarily removed while it's broken:
|
||||
# , 'com.vscodium.codium.desktop', 'codium.desktop'
|
||||
- name: Workstation | Account Management | GNOME | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
# Only do multiple entries per line if they are for the same exact program.
|
||||
gnome_favorites: "[ 'org.gnome.Terminal.desktop'
|
||||
, 'org.gnome.Console.desktop'
|
||||
@@ -46,12 +46,12 @@
|
||||
#, 'chat.simplex.simplex.desktop'
|
||||
|
||||
- name: Workstation | Account Management | GNOME | Facts (NixOS)
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
dconf_terminal: kgx
|
||||
when: ansible_distribution in ("NixOS")
|
||||
|
||||
- name: Workstation | Account Management | GNOME | Facts (Ubuntu)
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
dconf_theme: Yaru-purple-dark
|
||||
dconf_icons: Yaru-purple-dark
|
||||
when: ansible_distribution in ("Ubuntu")
|
||||
@@ -121,7 +121,7 @@
|
||||
# https://ansible-docs.readthedocs.io/zh/stable-2.0/rst/playbooks_filters.html#filters-for-formatting-data
|
||||
|
||||
- name: Workstation | Account Management | GNOME | Dash To Dock | Variables 1
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
gnome_enabled_extensions: "{{ gnome_enabled_extensions.value | replace('@as ', '') }}"
|
||||
dash_to_dock_ext_comma: ""
|
||||
when: ansible_distribution not in ("Ubuntu") and dash_to_dock_exists.failed
|
||||
@@ -132,17 +132,17 @@
|
||||
when: ansible_distribution not in ("Ubuntu") and dash_to_dock_exists.failed
|
||||
|
||||
- name: Workstation | Account Management | GNOME | Dash To Dock | Variables 2
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
dash_to_dock_ext_comma: ", "
|
||||
when: ansible_distribution not in ("Ubuntu") and dash_to_dock_exists.failed and gnome_enabled_extensions not in ("[]", [], "None")
|
||||
|
||||
- name: Workstation | Account Management | GNOME | Dash To Dock | Variables 3
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
dash_to_dock_ext_name: "{{ dash_to_dock_ext_comma }}'dash-to-dock@micxgx.gmail.com']"
|
||||
when: ansible_distribution not in ("Ubuntu") and dash_to_dock_exists.failed
|
||||
|
||||
- name: Workstation | Account Management | GNOME | Dash To Dock | Variables 4
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
gnome_enabled_extensions: "[]"
|
||||
when: ansible_distribution not in ("Ubuntu") and dash_to_dock_exists.failed and gnome_enabled_extensions == "None"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user