add restic
- fix packages that were broken - change the way configuration is done - define default facts for packages with os_family level vars - refine the default facts into an os_family specfic config
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
- source
|
||||
go_pkg: github.com/cheat/cheat/cmd/cheat
|
||||
version: latest
|
||||
pkg_deps:
|
||||
- go
|
||||
# }}}
|
||||
- name: Configure cheat
|
||||
when:
|
||||
@@ -28,6 +30,12 @@
|
||||
when:
|
||||
- cheat_imethod == 'source'
|
||||
block:
|
||||
- name: Queue package dependencies
|
||||
loop: "{{ cheat.pkg_deps }}"
|
||||
loop_control:
|
||||
loop_var: dep
|
||||
ansible.builtin.include_tasks: pkgs/{{ dep }}.yml
|
||||
|
||||
- name: Configure cheat go install
|
||||
ansible.builtin.set_fact:
|
||||
cheat_go_install:
|
||||
|
||||
Reference in New Issue
Block a user