29 lines
761 B
YAML
29 lines
761 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
|
|
no_vpn: true
|
|
add_domain: false
|
|
no_vpn: true
|
|
# 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: 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}
|
|
|
|
...
|