chore(packages): Change generated list of packages to default variable
Means it can be overwritten, is defined in a single place, and easier to invoke from individual tasks (if invoking from multiple).
This commit is contained in:
parent
da3adb0887
commit
2eaac57090
2 changed files with 3 additions and 1 deletions
|
|
@ -1,2 +1,4 @@
|
|||
all_packages_to_install: "{{ lookup('community.general.merge_variables', '^packages_.*') }}"
|
||||
|
||||
custom_repositories:
|
||||
- https://marty-oehme.github.io/void-templates
|
||||
|
|
|
|||
|
|
@ -9,5 +9,5 @@
|
|||
|
||||
- name: Install all my used void packages
|
||||
community.general.xbps:
|
||||
name: "{{ lookup('community.general.merge_variables', '^packages_.*') }}"
|
||||
name: all_packages_to_install
|
||||
state: "{{ desired_package_state | default('present') }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue