summaryrefslogtreecommitdiff
path: root/roles/uvok_bird/tasks/main.yml
blob: c3ef0638e1c2801fb8ccc95ca85738195c659579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
# tasks file for uvok_bird
- name: Ensure bird directory exists
  ansible.builtin.file:
    path: '{{ uvok_bird_opts.config_dir }}'
    state: directory
    mode: '0750'
    owner: 'bird'
    group: 'bird'
- name: Install template
  template:
    src: clearnet.conf.j2
    dest: '{{ uvok_bird_opts.config_dir }}/clearnet.conf'
    mode: '0640'
    owner: 'bird'
    group: 'bird'
  when:
    - uvok_bird_opts.clearnet
  notify: configure bird