refactor!: switch hosts variables to a flat layout
This commit is contained in:
parent
f669dea62a
commit
779f2766f2
33 changed files with 270 additions and 322 deletions
|
@ -1,6 +1,3 @@
|
|||
---
|
||||
gaming:
|
||||
github_token: "{{ custom_github_token | default('') }}"
|
||||
|
||||
custom_gaming: {}
|
||||
recursive_combine: true
|
||||
gaming_user_account: "{{ custom_base_user_account }}"
|
||||
gaming_github_token: "{{ custom_github_token | default('') }}"
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
---
|
||||
- name: '[setup] merge with custom vars'
|
||||
ansible.builtin.set_fact:
|
||||
gaming: "{{ gaming | combine(custom_gaming, recursive=recursive_combine) }}"
|
||||
changed_when: false
|
||||
|
||||
- name: '[games] install Steam'
|
||||
become: true
|
||||
block:
|
||||
|
@ -52,7 +47,7 @@
|
|||
block:
|
||||
- name: '[hgl] fetch assets from github'
|
||||
nullified.infrastructure.github_artifact:
|
||||
github_token: '{{ gaming.github_token }}'
|
||||
github_token: '{{ gaming_github_token }}'
|
||||
asset_name: heroic_{version}_amd64.deb
|
||||
asset_type: release
|
||||
repository: Heroic-Games-Launcher/HeroicGamesLauncher
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue