Migrate set_fact to FQCN.
This commit is contained in:
@@ -13,30 +13,30 @@
|
||||
# https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
|
||||
|
||||
- name: Workstation | Linux | Software | Android | Facts [01]
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
android_url: "https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip"
|
||||
android_download_file: "{{ user_user.home }}/Downloads/android-cmdline-tools.tar.xz"
|
||||
android_sdk_location: "{{ user_user.home }}/SDKs/Android/Sdk"
|
||||
android_report_file: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.sdk.android.txt"
|
||||
|
||||
- name: Workstation | Linux | Software | Android | Facts [02]
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
android_bin_location: "{{ android_sdk_location }}/platform-tools"
|
||||
android_sdk_cmdline_temp: "{{ android_sdk_location }}/ansible"
|
||||
android_sdk_cmdline_final: "{{ android_sdk_location }}/cmdline-tools/latest/bin"
|
||||
|
||||
- name: Workstation | Linux | Software | Android | Facts [03]
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
android_sdkmanager_temp: "{{ android_sdk_cmdline_temp }}/cmdline-tools/bin/sdkmanager"
|
||||
android_sdkmanager_final: "{{ android_sdk_cmdline_final }}/sdkmanager"
|
||||
android_sdkmanager_final2: "{{ android_sdk_cmdline_final }}/android"
|
||||
|
||||
- name: Workstation | Linux | Software | Android | Facts [04]
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
android_sdkmanager2: "{{ android_sdkmanager_final2 }} sdk --sdk={{ android_sdk_location }}"
|
||||
|
||||
- name: Workstation | Linux | Software | Android | Facts [05]
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
android_sdkmanager2_list: "{{ android_sdkmanager2 }} list"
|
||||
android_sdkmanager2_install: "{{ android_sdkmanager2 }} install"
|
||||
android_sdkmanager2_remove: "{{ android_sdkmanager2 }} remove"
|
||||
@@ -79,7 +79,7 @@
|
||||
### 14G .
|
||||
|
||||
- name: Workstation | Linux | Software | Android | Facts [Downloads]
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
android_downloads_required:
|
||||
### 36 ### - Recommended by Android Studio and Flutter, deprecating August 2027.
|
||||
- build-tools/36.0.0
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
# Cinnamon does use some dconf though.
|
||||
|
||||
- name: Workstation | Linux | Software | Cinnamon | Facts | Defaults
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
cinnamon_package: cinnamon
|
||||
|
||||
- name: Workstation | Linux | Software | Cinnamon | Facts | Debian Derivitives
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
cinnamon_package: task-cinnamon-desktop
|
||||
when: ansible_distribution in ("Debian", "Devuan")
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# Source: https://softhints.com/how-to-completely-remove-flatpak-linux-mint/
|
||||
|
||||
- name: Workstation | Linux | Flatpak Distro | Flatpak | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
flatpak_extension: "-flatpak"
|
||||
|
||||
## Flatpak Pre-reqs ##
|
||||
@@ -31,12 +31,12 @@
|
||||
## Flatpak Installs ##
|
||||
|
||||
- name: Workstation | Linux | Flatpak Distro | Flatpak | Variables
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
flatpak_exec_dir: "{{ user_user.home }}/bin"
|
||||
flatpak_exec: "flatpak run"
|
||||
|
||||
- name: Workstation | Linux | Flatpak Distro | Flatpak | Arrays
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
flatpaks_generic:
|
||||
- { app: "io.gitlab.librewolf-community", name: "librewolf", extra: "" }
|
||||
- { app: "org.signal.Signal", name: "signal", extra: "" }
|
||||
|
||||
@@ -4,22 +4,22 @@
|
||||
## Facts ##
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Facts 1
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
flutter_url: "https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.47.4-stable.tar.xz"
|
||||
flutter_download_file: "{{ user_user.home }}/Downloads/flutter.tar.xz"
|
||||
flutter_sdk_location: "{{ user_user.home }}/SDKs/Flutter"
|
||||
flutter_report: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.sdk.flutter.txt"
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Facts 2
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
flutter_bin_location: "{{ flutter_sdk_location }}/flutter/bin"
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Facts 3
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
flutter: "{{ flutter_bin_location }}/flutter"
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Facts 4
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
flutter_report_commands:
|
||||
- "date > {{ flutter_report }}"
|
||||
- "{{ flutter }} --disable-analytics >> {{ flutter_report }}"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
block:
|
||||
|
||||
- name: Workstation | Linux | Software | Hugo | pacman | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
sass_old: ruby-sass
|
||||
sass_current: dart-sass
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
block:
|
||||
|
||||
- name: Workstation | Linux | Software | Hugo | npm | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
sass_old: node-sass
|
||||
sass_current: sass
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
block:
|
||||
|
||||
- name: Workstation | Linux | Software | Java | pacman | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
jdk_version: 21
|
||||
jdk_dir: ~/SDKs/Java
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
# Paths
|
||||
|
||||
- name: Workstation | Linux | Software | Lutris | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
lutris_source_list: "/etc/apt/sources.list.d/lutris.list"
|
||||
lutris_keyfile: "/usr/share/keyrings/lutris.gpg"
|
||||
when: ansible_pkg_mgr == "apt"
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
# Giving this DE a shot but not liking it as much as others.
|
||||
|
||||
- name: Workstation | Linux | Software | LXQt | Facts | Defaults
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
lxqt_package: lxqt
|
||||
|
||||
- name: Workstation | Linux | Software | LXQt | Facts | Debian Derivitives
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
lxqt_package: task-lxqt-desktop
|
||||
when: ansible_distribution in ("Debian", "Devuan")
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
block:
|
||||
|
||||
- name: Workstation | Software | NodeJS | apt | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
node_version: node_24.x
|
||||
|
||||
- name: Workstation | Software | NodeJS | apt | Old | Remove
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
## Variables ##
|
||||
|
||||
- name: Workstation | Linux | Software | TLP | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
tlp_package: "tlp"
|
||||
tlp_rdw: "tlp-rdw"
|
||||
tlp_smart: "smartmontools"
|
||||
@@ -19,7 +19,7 @@
|
||||
acf_service: "auto-cpufreq"
|
||||
|
||||
- name: Workstation | Linux | Software | TLP | Facts (Artix)
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
ppd_package: "power-profiles-daemon power-profiles-daemon-runit"
|
||||
tlp_run_script: tlp-runit
|
||||
when: ansible_pkg_mgr == "pacman"
|
||||
@@ -110,11 +110,11 @@
|
||||
block:
|
||||
|
||||
- name: Workstation | Linux | Software | TLP | runit | Devuan | Facts 01
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
devuan_tlp_dir: "{{ runit_script_dir }}/{{ tlp_service }}"
|
||||
|
||||
- name: Workstation | Linux | Software | TLP | runit | Devuan | Facts 02
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
devuan_tlp_run: "{{ devuan_tlp_dir }}/run"
|
||||
|
||||
- name: Workstation | Linux | Software | TLP | runit | Devuan | Create Script
|
||||
|
||||
@@ -43,13 +43,13 @@
|
||||
block:
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad | Devuan | Facts 01
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
devuan_mullvad_dir: "{{ global_src }}/mullvad-installer"
|
||||
mullvad_deb_url: https://mullvad.net/en/download/app/deb/latest
|
||||
mullvad_repack_url: https://github.com/sys-fs/mullvad-repack
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad | Devuan | Facts 02
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
mullvad_repack_dir: "{{ devuan_mullvad_dir }}/mullvad_repack"
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad | Devuan | Check
|
||||
@@ -74,16 +74,16 @@
|
||||
## Link & Enable ##
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad | PATH | Facts 01
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
mullvad_exe: 'mullvad-vpn'
|
||||
mullvad_exe_dir: '/opt/Mullvad\ VPN'
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad | PATH | Facts 02
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
mullvad_exe_new: "{{ global_bin }}/{{ mullvad_exe }}"
|
||||
|
||||
- name: Workstation | Software | VPN | Mullvad | PATH | Facts (pacman)
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
mullvad_exe_dir: '/usr/bin'
|
||||
when: ansible_pkg_mgr == "pacman"
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# Paths
|
||||
|
||||
- name: Workstation | Linux | Software | VS Codium | Facts
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
vscodium_source_list: "/etc/apt/sources.list.d/vscodium.list"
|
||||
vscodium_keyfile: "/usr/share/keyrings/vscodium.gpg"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user