mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized portfolio and pkgmgr update procedures
This commit is contained in:
@@ -21,6 +21,22 @@
|
||||
become: false
|
||||
register: config_file
|
||||
|
||||
- name: Load docker cards
|
||||
set_fact:
|
||||
portfolio_cards: "{{ lookup('docker_cards', 'roles') }}"
|
||||
|
||||
- name: Group docker cards
|
||||
set_fact:
|
||||
portfolio_menu_data: "{{ lookup('docker_cards_grouped', portfolio_cards) }}"
|
||||
|
||||
- name: Debug portfolio data
|
||||
debug:
|
||||
msg:
|
||||
cards: "{{ portfolio_cards }}"
|
||||
menu_data: "{{ portfolio_menu_data }}"
|
||||
when: enable_debug | bool
|
||||
|
||||
|
||||
- name: Copy host-specific config.yaml if it exists
|
||||
template:
|
||||
src: "{{ config_inventory_path }}"
|
||||
|
Reference in New Issue
Block a user