27 lines
766 B
YAML
27 lines
766 B
YAML
---
|
|
- hosts: all
|
|
sudo: True
|
|
|
|
vars:
|
|
bird_enable: False
|
|
bird6_enable: True
|
|
bird_enable_service: True
|
|
dnsmasq_conf_dir: /etc/dnsmasq.d
|
|
dnsmasq_conf_file: /etc/dnsmasq.conf
|
|
install_extras: False
|
|
do_cleanup: True
|
|
router_appliance: True
|
|
update_kernel: True
|
|
enabled_advanced_services: "router"
|
|
tasks:
|
|
- include: tasks/debian_backports.yml
|
|
when: ansible_distribution == "Debian" and ansible_distribution_release == "wheezy"
|
|
- include: tasks/update_kernel.yml
|
|
when: update_kernel and ansible_distribution_release == "wheezy"
|
|
- include: tasks/base.yml
|
|
- include: tasks/astara.yml
|
|
- include: tasks/bird.yml
|
|
- include: tasks/dnsmasq.yml
|
|
- include: tasks/extras.yml
|
|
when: install_extras
|