fix!: fixed molecule tests, rewrote how custom variables are handled for hosts overrides; fixed invalid services names for clamav handlers
This commit is contained in:
parent
6026cfd195
commit
dafa3fbc54
23 changed files with 238 additions and 159 deletions
|
@ -1,2 +1,6 @@
|
|||
---
|
||||
custom_github_token: ""
|
||||
gaming:
|
||||
github_token: "{{ custom_github_token | default('') }}"
|
||||
|
||||
custom_gaming: {}
|
||||
recursive_combine: true
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
---
|
||||
- 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:
|
||||
|
@ -21,7 +26,7 @@
|
|||
mode: '0644'
|
||||
|
||||
- name: '[apt key] add source'
|
||||
apt_repository:
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "{{ item }} [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https://repo.steampowered.com/steam/ stable steam"
|
||||
state: present
|
||||
filename: steam
|
||||
|
@ -47,7 +52,7 @@
|
|||
block:
|
||||
- name: '[hgl] fetch assets from github'
|
||||
nullified.infrastructure.github_artifact:
|
||||
github_token: '{{ custom_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