
This makes the kernel update task only happen on wheezy and removes the default release stuff from bird (the newer backports version should be installed without pinning to that repo) Change-Id: Id4b997848edee21bdcfa3d9defedc69598eccfad
27 lines
727 B
YAML
27 lines
727 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
|
|
|
|
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/akanda.yml
|
|
- include: tasks/bird.yml
|
|
- include: tasks/dnsmasq.yml
|
|
- include: tasks/extras.yml
|
|
when: install_extras
|