feature:新增bfdd安装依赖libyang2和pcre2

This commit is contained in:
fumingwei
2023-03-02 16:55:10 +08:00
parent bc6bd95e6c
commit 9a67beae7c
4 changed files with 20 additions and 6 deletions

View File

@@ -20,6 +20,24 @@
# state: present
# disable_gpg_check: yes
- name: "install pcre2"
yum:
name: pcre2
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "temp: copy libyang rpm to dest"
copy:
src: "{{ role_path }}/files/libyang2-2.0.7-1.el8.x86_64.rpm"
dest: /tmp
- name: "install libyang2"
yum:
name:
- /tmp/libyang2-2.0.7-1.el8.x86_64.rpm"
state: present
disable_gpg_check: yes
- name: "temp: copy rpm to dest"
copy:
src: "{{ role_path }}/files/bfdd-1.1.1-release.x86_64.rpm"

View File

@@ -99,8 +99,4 @@
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install libyang"
yum:
name: libyang
conf_file: "{{ rpm_repo_config_path }}"
state: present

View File

@@ -57,6 +57,6 @@ telegraf_listen_port=8300
[bfdd]
#path=/var/run/frr/bfdd_{{ .Values.vsys_id }}.vty
path=/var/run/frr/bfdd.vty
path=/run/frr/bfdd.vty
device={{ .Values.sce.endpoint_nic }}
gateway={{ .Values.sce.endpoint_gateway }}