Compare commits
2
Commits
d13b97d5aa
...
431510a729
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
431510a729 | ||
|
|
e7a461550d |
No files matched your search
@@ -103,7 +103,9 @@
|
|||||||
ansible_pkg_mgr_file: "{{ prov_dir }}/ansible_pkg_mgr.txt"
|
ansible_pkg_mgr_file: "{{ prov_dir }}/ansible_pkg_mgr.txt"
|
||||||
|
|
||||||
- name: General | Facts | Package | Update Command | Store Variables
|
- name: General | Facts | Package | Update Command | Store Variables
|
||||||
ansible.builtin.shell: "{{ item }}"
|
ansible.builtin.shell: |
|
||||||
|
set -o pipefail
|
||||||
|
{{ item }}
|
||||||
loop:
|
loop:
|
||||||
- "echo '{{ ansible_distribution }}' > {{ ansible_distribution_file }}"
|
- "echo '{{ ansible_distribution }}' > {{ ansible_distribution_file }}"
|
||||||
- "echo '{{ ansible_pkg_mgr }}' > {{ ansible_pkg_mgr_file }}"
|
- "echo '{{ ansible_pkg_mgr }}' > {{ ansible_pkg_mgr_file }}"
|
||||||
@@ -270,7 +272,9 @@
|
|||||||
|
|
||||||
# Flatpaks
|
# Flatpaks
|
||||||
- name: General | Facts | Package | Update Command | Flatpak | Check
|
- name: General | Facts | Package | Update Command | Flatpak | Check
|
||||||
ansible.builtin.shell: which flatpak
|
ansible.builtin.shell: |
|
||||||
|
set -o pipefail
|
||||||
|
which flatpak
|
||||||
register: flatpak_exec
|
register: flatpak_exec
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
@@ -294,7 +298,9 @@
|
|||||||
|
|
||||||
# Firmware
|
# Firmware
|
||||||
- name: General | Facts | Package | Update Command | Firmware | Check
|
- name: General | Facts | Package | Update Command | Firmware | Check
|
||||||
ansible.builtin.shell: which fwupdmgr
|
ansible.builtin.shell: |
|
||||||
|
set -o pipefail
|
||||||
|
which fwupdmgr
|
||||||
register: fwupdmgr_exec
|
register: fwupdmgr_exec
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
|
|||||||
@@ -243,7 +243,9 @@
|
|||||||
|
|
||||||
# This can only be run once, otherwise cmdline-tools creates latest-* folders.
|
# This can only be run once, otherwise cmdline-tools creates latest-* folders.
|
||||||
- name: Workstation | Linux | Software | Android | Install | Consistent Modules
|
- name: Workstation | Linux | Software | Android | Install | Consistent Modules
|
||||||
ansible.builtin.shell: "yes | {{ android_sdkmanager_temp }} --install '{{ item }}' --sdk_root={{ android_sdk_location }}"
|
ansible.builtin.shell: |
|
||||||
|
set -o pipefail
|
||||||
|
yes | {{ android_sdkmanager_temp }} --install '{{ item }}' --sdk_root={{ android_sdk_location }}
|
||||||
loop:
|
loop:
|
||||||
# Current
|
# Current
|
||||||
- cmdline-tools/latest
|
- cmdline-tools/latest
|
||||||
@@ -371,7 +373,9 @@
|
|||||||
when: coding
|
when: coding
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | Android | License Agreements [1/2]
|
- name: Workstation | Linux | Software | Android | License Agreements [1/2]
|
||||||
ansible.builtin.shell: "yes | {{ android_sdkmanager_final }} --licenses --sdk_root={{ android_sdk_location }}"
|
ansible.builtin.shell: |
|
||||||
|
set -o pipefail
|
||||||
|
yes | {{ android_sdkmanager_final }} --licenses --sdk_root={{ android_sdk_location }}
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{ user }}"
|
become_user: "{{ user }}"
|
||||||
register: shell_check
|
register: shell_check
|
||||||
@@ -379,7 +383,9 @@
|
|||||||
when: coding
|
when: coding
|
||||||
|
|
||||||
- name: Workstation | Linux | Software | Android | License Agreements [2/2]
|
- name: Workstation | Linux | Software | Android | License Agreements [2/2]
|
||||||
ansible.builtin.shell: "yes | {{ flutter_exe }} doctor --android-licenses"
|
ansible.builtin.shell: |
|
||||||
|
set -o pipefail
|
||||||
|
yes | {{ flutter_exe }} doctor --android-licenses
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{ user }}"
|
become_user: "{{ user }}"
|
||||||
register: shell_check
|
register: shell_check
|
||||||
|
|||||||
Reference in new issue
Block a user