aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks/bird.yml
blob: c81176daffad7b1000664d2df60df6cd75cfc47f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
- name: Create /etc/bird.conf
  copy:
    dest: '/etc/bird.conf'
    src: 'bird.conf'
    owner: root
    group: root
    mode: 0644
  notify: restart bird

- name: Enable bird.service
  systemd:
    name: 'bird.service'
    enabled: yes
    masked: no
    state: started
  when: not chroot
- name: '- when in chroot'
  command: 'systemctl enable bird.service'
  when: chroot

# vim: set ts=2 sw=2 et: