-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: deploy media stack and refactor playbooks
- Loading branch information
1 parent
b8c0b86
commit 931761b
Showing
7 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
config/ansible/roles/ferrarimarco_home_lab_node/tasks/register-intel-igpu-facts.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
- name: Get render group id | ||
ansible.builtin.getent: | ||
database: group | ||
key: render | ||
|
||
- name: Debug getent_group | ||
ansible.builtin.debug: | ||
var: getent_group | ||
verbosity: 1 | ||
|
||
- name: Register facts for Intel iGPU | ||
ansible.builtin.set_fact: | ||
# Format: {"render": ['x', '104', '']} | ||
intel_igpu_render_group_id: "{{ getent_group['render'][1] }}" | ||
|
||
- name: Debug intel_igpu_render_group_id | ||
ansible.builtin.debug: | ||
var: intel_igpu_render_group_id | ||
verbosity: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters