- Add '--skip-check' option to update.py to skip dotfiles update checks. - Update playbook.yml and symlinks.yml to use 'inventory_hostname' for host checks. - Refactor service task inclusions in server.yml for better readability and maintainability. - Add new Home Assistant service with corresponding docker-compose configuration. - Update various service YAML files to use dynamic paths based on inventory_hostname. - Add tags for service tasks to improve organization and execution control. - Remove obsolete services.yml file.
20 lines
690 B
YAML
20 lines
690 B
YAML
---
|
|
- name: Configure all hosts
|
|
hosts: all
|
|
handlers:
|
|
- name: Import handler tasks
|
|
ansible.builtin.import_tasks: handlers/main.yml
|
|
gather_facts: true
|
|
|
|
tasks:
|
|
- name: Include global tasks
|
|
ansible.builtin.import_tasks: tasks/global/global.yml
|
|
|
|
- name: Include workstation tasks
|
|
ansible.builtin.import_tasks: tasks/workstations/workstation.yml
|
|
when: inventory_hostname in ['mennos-laptop', 'mennos-cosmic-laptop', 'mennos-desktop']
|
|
|
|
- name: Include server tasks
|
|
ansible.builtin.import_tasks: tasks/servers/server.yml
|
|
when: inventory_hostname in ['mennos-server', 'mennos-cloud-server', 'mennos-hobbypc', 'mennos-vm', 'dotfiles-test']
|