have a workign copy now
This commit is contained in:
@@ -37,10 +37,6 @@
|
||||
group: "{{ install_prefix_group }}"
|
||||
path: "{{ path }}"
|
||||
|
||||
- name: Read package configuration
|
||||
ansible.builtin.include_vars:
|
||||
file: pkglist.yml
|
||||
|
||||
- name: Add needed packages for Fedora
|
||||
when:
|
||||
- distribution == 'Fedora'
|
||||
@@ -70,27 +66,10 @@
|
||||
ansible.builtin.include_tasks:
|
||||
file: "pkgs/{{ pkg }}.yml"
|
||||
|
||||
- name: Clean installations that require it
|
||||
ansible.builtin.include_tasks: "helpers/clean_install.yml"
|
||||
|
||||
- name: Install go if required
|
||||
when:
|
||||
- pkg_go|length > 0
|
||||
ansible.builtin.include_tasks: pkgs/go.yml
|
||||
|
||||
- name: Install rust and cargo if required
|
||||
when:
|
||||
- pkg_cargo|length > 0 or
|
||||
pkg_cargo_build|length > 0
|
||||
ansible.builtin.include_tasks: pkgs/rust.yml
|
||||
|
||||
- name: Ensure pipx is installed
|
||||
when:
|
||||
- pkg_pipx|length > 0
|
||||
block:
|
||||
- name: Queue pipx install
|
||||
ansible.builtin.include_tasks: pkgs/pipx.yml
|
||||
|
||||
- name: Ensure pipx path exists
|
||||
become: "{{ install_become }}"
|
||||
become_user: "{{ install_become_user }}"
|
||||
@@ -99,11 +78,6 @@
|
||||
mode: '0755'
|
||||
path: "{{ path_pipx }}"
|
||||
|
||||
- name: Ensure nodejs and npm are installed
|
||||
when:
|
||||
- pkg_npm|length > 0
|
||||
ansible.builtin.include_tasks: pkgs/nodejs.yml
|
||||
|
||||
- name: Ensure appimage path exists
|
||||
when:
|
||||
- pkg_appimage is defined
|
||||
@@ -125,11 +99,6 @@
|
||||
mode: '0755'
|
||||
path: "{{ path_archive }}"
|
||||
|
||||
- name: Depend zig
|
||||
when:
|
||||
- pkg_zig|length > 0
|
||||
ansible.builtin.include_tasks: pkgs/zig.yml
|
||||
|
||||
- name: Install pkg_sys list using system package manager
|
||||
when:
|
||||
- pkg_sys|length > 0
|
||||
|
||||
Reference in New Issue
Block a user