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

37 lines
904 B
YAML

---
# Configures server for VM party
- name: Make a VM Party box
hosts: all
become: yes
vars:
# configure cosmos init for this playbook
terse_packages: true
vpn_init: true
update_grub_timeout: true
public_deploy: true
rename_host: true
configure_smb: true
add_domain: false
no_vpn: true
docker_full: false
# bridge interface name
bridge_name: "vmpbr0"
roles:
- role: cosmos_init
when: not run_stage_two | bool and not (update_party | bool) and not (service_only | bool)
- role: docker_workstation
when: not run_stage_two | bool and not (update_party | bool) and not (service_only | bool)
- role: net_bridge
when: not (run_stage_two | bool) and not (update_party | bool) and not (service_only | bool)
- role: vm_party
when: run_stage_two | bool or update_party | bool or service_only | bool
...