Files
ansible-playbooks/cosmos-server.yaml
2025-11-28 17:26:03 -08:00

34 lines
728 B
YAML

---
- name: Cosmos Server Pipeline
hosts: all
become: yes
vars:
iso_only: true
roles:
- role: cosmos_init
when: not refresh_special | bool
- role: docker_workstation
when: install_docker | bool and not refresh_special | bool
- role: nvidia_drivers
when: install_nvidia | bool and not refresh_special | bool and not skip_nvidia | bool
- role: ldap_client
when: install_LDAP | bool and not refresh_special | bool
# - role: "{{ special_server }}"
# when: '"none" not in special_server'
tasks:
- name: "Run {{ special_server }} role"
include_role:
name: "{{ special_server }}"
when: '"none" not in special_server'
...