summaryrefslogtreecommitdiff
path: root/roles/uvok_bird/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/uvok_bird/tasks')
-rw-r--r--roles/uvok_bird/tasks/main.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/uvok_bird/tasks/main.yml b/roles/uvok_bird/tasks/main.yml
index 4c9390d..fbb0306 100644
--- a/roles/uvok_bird/tasks/main.yml
+++ b/roles/uvok_bird/tasks/main.yml
@@ -26,6 +26,8 @@
name:
- bird2
state: present
+ tags:
+ - packages
- name: Ensure bird config directory exists
ansible.builtin.file:
path: '{{ uvok_bird_opts.config_dir }}'
@@ -33,6 +35,8 @@
mode: '0750'
owner: 'bird'
group: 'bird'
+ tags:
+ - config
- name: Ensure bird log directory exists
ansible.builtin.file:
path: '/var/log/bird/'
@@ -51,6 +55,8 @@
- { src: 'bird.conf.j2', dest: '{{ uvok_bird_opts.config_dir }}/bird.conf' }
- { src: 'defines.conf.j2', dest: '{{ uvok_bird_opts.config_dir }}/defines.conf' }
notify: configure bird
+ tags:
+ - config
- name: Copy remaining common files
copy:
src: files/{{ item }}
@@ -62,6 +68,8 @@
- "common.conf"
- "logging.conf"
notify: configure bird
+ tags:
+ - config
- name: Install clearnet templates
template:
src: '{{ item.src }}'
@@ -76,6 +84,8 @@
- { src: 'clear_defines.conf.j2', dest: '{{ uvok_bird_opts.config_dir }}/clear_defines.conf' }
- { src: 'clear_rpki.conf.j2', dest: '{{ uvok_bird_opts.config_dir }}/clear_rpki.conf' }
notify: configure bird
+ tags:
+ - config
- name: Copy remaining clearnet files
ansible.posix.synchronize:
src: 'files/'
@@ -93,6 +103,8 @@
when:
- uvok_bird_opts.clearnet
notify: configure bird
+ tags:
+ - config
- name: Ensure bird peer directory exists
ansible.builtin.file:
path: '{{ uvok_bird_opts.config_dir }}/clear_peers/'
@@ -102,6 +114,8 @@
group: 'bird'
when:
- uvok_bird_opts.clearnet
+ tags:
+ - config
- name: Remove clearnet config files
ansible.builtin.file:
path: '{{ item }}'
@@ -112,3 +126,5 @@
- '{{ uvok_bird_opts.config_dir }}/clear_functions.conf'
when:
- not uvok_bird_opts.clearnet
+ tags:
+ - config