basic installs working
need to run tests on all the builds alone, should use a container system
This commit is contained in:
@@ -4,7 +4,12 @@
|
||||
ansible.builtin.set_fact:
|
||||
zoxide:
|
||||
methods:
|
||||
- source
|
||||
- system
|
||||
cargo:
|
||||
name: zoxide
|
||||
pkg_deps:
|
||||
- cargo
|
||||
# }}}
|
||||
- name: Configure zoxide
|
||||
when:
|
||||
@@ -16,9 +21,21 @@
|
||||
ansible.builtin.set_fact:
|
||||
zoxide_imethod: "{{ imethod if imethod in zoxide.methods else zoxide.methods[0] }}"
|
||||
|
||||
- name: Append zoxide to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ['zoxide'] }}"
|
||||
- name: Configure zoxide system install
|
||||
when:
|
||||
- zoxide_imethod == 'system'
|
||||
block:
|
||||
- name: Append zoxide to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ['zoxide'] }}"
|
||||
|
||||
- name: Configure zoxide cargo install
|
||||
when:
|
||||
- zoxide_imethod == 'source'
|
||||
block:
|
||||
- name: Set zoxide cargo facts
|
||||
ansible.builtin.set_fact:
|
||||
zoxide_cargo_install: "{{ zoxide.cargo }}"
|
||||
|
||||
- name: Set zoxide_configured
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
Reference in New Issue
Block a user