finished with a bunch more
This commit is contained in:
@@ -1,5 +1,23 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: Append fzf to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ['fzf'] }}"
|
||||
- name: Configure fzf
|
||||
when:
|
||||
- "'fzf' not in __configured"
|
||||
block:
|
||||
- name: Set fzf install method
|
||||
when:
|
||||
- fzf_install_method is undefined
|
||||
ansible.builtin.set_fact:
|
||||
fzf_install_method: "{{ install_method if install_method in fzf.install_methods else fzf.install_methods[0] }}"
|
||||
|
||||
- name: Configure fzf system install
|
||||
when:
|
||||
- fzf_install_method == "system"
|
||||
block:
|
||||
- name: Append fzf to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ['fzf'] }}"
|
||||
|
||||
- name: Finalize fzf configuration
|
||||
ansible.builtin.set_fact:
|
||||
__configured: "{{ __configured | combine( { 'fzf': fzf_install_method } ) }}"
|
||||
|
||||
Reference in New Issue
Block a user