Migrate set_fact to FQCN.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
# Temporarily removed while it's broken:
|
||||
# , 'com.vscodium.codium.desktop', 'codium.desktop'
|
||||
- name: Workstation | Account Management | Cinnamon | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
# Only do multiple entries per line if they are for the same exact program.
|
||||
cinnamon_favorites: "[ 'org.gnome.Terminal.desktop'
|
||||
, 'org.gnome.Console.desktop'
|
||||
@@ -47,12 +47,12 @@
|
||||
#, 'chat.simplex.simplex.desktop'
|
||||
|
||||
- name: Workstation | Account Management | Cinnamon | Facts (NixOS)
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
dconf_terminal: kgx
|
||||
when: ansible_distribution in ("NixOS")
|
||||
|
||||
- name: Workstation | Account Management | Cinnamon | Facts (Ubuntu)
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
dconf_theme: Yaru-purple-dark
|
||||
dconf_icons: Yaru-purple-dark
|
||||
when: ansible_distribution in ("Ubuntu")
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
# Mount network shares.
|
||||
|
||||
- name: Workstation | Settings | NFS | Facts (Linux)
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
mount_options: defaults,_netdev
|
||||
when: ansible_system == "Linux"
|
||||
|
||||
- name: Workstation | Settings | NFS | Facts (FreeBSD)
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
mount_options: rw
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Copy everything from PROJECT/files/templates/ to User's home.
|
||||
|
||||
- name: Workstation | Settings | Templates | Variables
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
user_templates: "{{ user_user.home }}/Templates"
|
||||
|
||||
- name: Workstation | Settings | Templates | Ensure Directory Exists
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
# it doesn´t even matter if both are installed!!
|
||||
|
||||
- name: Workstation | Shared | Software | i3 | Facts 01
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
i3_config: "settings/i3.config"
|
||||
i3_config_dir: "{{ user_user.home }}/.config/i3"
|
||||
i3_package: i3
|
||||
@@ -24,11 +24,11 @@
|
||||
i3_redshift_gui: redshift-gtk
|
||||
|
||||
- name: Workstation | Shared | Software | i3 | Facts 02
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
i3_config_file: "{{ i3_config_dir }}/config"
|
||||
|
||||
- name: Workstation | Shared | Software | i3 | Facts | non-apt
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
i3_theme01: htop
|
||||
i3_theme02: htop
|
||||
i3_theme03: htop
|
||||
@@ -36,7 +36,7 @@
|
||||
when: ansible_pkg_mgr != "apt"
|
||||
|
||||
- name: Workstation | Shared | Software | i3 | Facts | yay
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
i3_yay_packages:
|
||||
- greybird-gtk-theme
|
||||
#- enlightenment-arc-theme
|
||||
@@ -44,7 +44,7 @@
|
||||
when: ansible_pkg_mgr == "pacman"
|
||||
|
||||
#- name: Workstation | Shared | Software | i3 | Facts | TBD
|
||||
# set_fact:
|
||||
# ansible.builtin.set_fact:
|
||||
# i3_package: i3-wm
|
||||
# when: ansible_distribution in ("TBD")
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
# msg: "{{ i3_light_device_check }}"
|
||||
|
||||
- name: Workstation | Shared | Software | i3 | Light | Pull Backlight Name
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
i3_light_device_name: "{{ i3_light_device_check.files[0].path | basename }}"
|
||||
ignore_errors: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user