feature:新增bfdd安装依赖libyang2和pcre2
This commit is contained in:
BIN
ansible/roles/bfdd/files/libyang2-2.0.7-1.el8.x86_64.rpm
Normal file
BIN
ansible/roles/bfdd/files/libyang2-2.0.7-1.el8.x86_64.rpm
Normal file
Binary file not shown.
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 }}
|
||||
Reference in New Issue
Block a user