Migrate blockinfile to FQCN.
This commit is contained in:
@@ -377,7 +377,7 @@
|
||||
## Configure Environment ##
|
||||
|
||||
- name: Workstation | Linux | Software | Android | Modify PATH (.bashrc)
|
||||
blockinfile:
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ item }}/.bashrc"
|
||||
block: |
|
||||
export PATH="$PATH:{{ android_bin_location }}:{{ android_sdk_cmdline_final }}"
|
||||
@@ -394,7 +394,7 @@
|
||||
and user_user.home != ""
|
||||
|
||||
- name: Workstation | Linux | Software | Android | Modify PATH (.zshrc)
|
||||
blockinfile:
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ item }}/.zshrc"
|
||||
block: |
|
||||
export PATH="$PATH:{{ android_bin_location }}:{{ android_sdk_cmdline_final }}"
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
loop: "{{ flatpaks_generic }}"
|
||||
|
||||
- name: Workstation | Linux | Flatpak Distro | Flatpak | Generic | Executables
|
||||
blockinfile:
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
|
||||
block: |
|
||||
{{ item.extra }} {{ flatpak_exec }} {{ item.app }}
|
||||
@@ -135,7 +135,7 @@
|
||||
when: coding
|
||||
|
||||
- name: Workstation | Linux | Flatpak Distro | Flatpak | Coding | Executables
|
||||
blockinfile:
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
|
||||
block: |
|
||||
{{ item.extra }} {{ flatpak_exec }} {{ item.app }}
|
||||
@@ -184,7 +184,7 @@
|
||||
when: editing in (true, "video")
|
||||
|
||||
- name: Workstation | Linux | Flatpak Distro | Flatpak | Video Editors | Executables
|
||||
blockinfile:
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
|
||||
block: |
|
||||
{{ item.extra }} {{ flatpak_exec }} {{ item.app }}
|
||||
@@ -231,7 +231,7 @@
|
||||
when: editing in (true, "audio")
|
||||
|
||||
- name: Workstation | Linux | Flatpak Distro | Flatpak | Audio/Video Editors | Executables
|
||||
blockinfile:
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
|
||||
block: |
|
||||
{{ item.extra }} {{ flatpak_exec }} {{ item.app }}
|
||||
@@ -280,7 +280,7 @@
|
||||
when: gaming
|
||||
|
||||
- name: Workstation | Linux | Flatpak Distro | Flatpak | Gaming | Executables
|
||||
blockinfile:
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ flatpak_exec_dir }}/{{ item.name }}{{ flatpak_extension }}"
|
||||
block: |
|
||||
{{ item.extra }} {{ flatpak_exec }} {{ item.app }}
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
## Configure Environment ##
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Modify PATH (.bashrc)
|
||||
blockinfile:
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ item }}/.bashrc"
|
||||
block: |
|
||||
export PATH="$PATH:{{ flutter_bin_location }}"
|
||||
@@ -146,7 +146,7 @@
|
||||
and user_user.home != ""
|
||||
|
||||
- name: Workstation | Linux | Software | Flutter | Modify PATH (.zshrc)
|
||||
blockinfile:
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ item }}/.zshrc"
|
||||
block: |
|
||||
export PATH="$PATH:{{ flutter_bin_location }}"
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
when: ansible_service_mgr == "runit"
|
||||
|
||||
- name: Workstation | Linux | Software | TLP | runit | Functions & Aliases
|
||||
blockinfile:
|
||||
ansible.builtin.blockinfile:
|
||||
path: "{{ item }}"
|
||||
block: |
|
||||
function tlp-devices {
|
||||
|
||||
Reference in New Issue
Block a user