From 1d35e571126fb6622bc47d44e2030e56765928ac Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Mon, 21 Oct 2024 18:25:48 +0200 Subject: bird: Add tags --- roles/uvok_bird/tasks/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'roles/uvok_bird/tasks/main.yml') 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 -- cgit v1.2.3