更新rpm包版本.

This commit is contained in:
lijia
2020-08-21 12:12:33 +08:00
parent 5682618748
commit acfe675bc5
8 changed files with 8 additions and 4 deletions

View File

@@ -9,6 +9,11 @@
src: "{{ role_path }}/files/rpm/{{ wangw_global.rpm_files.toroad_rpm_file }}"
dest: "/tmp/wannat_deploy/"
- name: "Creates /opt/wannat/toroad/etc directory"
file:
path: /opt/wannat/toroad/etc
state: directory
- name: "install toroad"
yum:
name: "{{ packages }}"
@@ -17,7 +22,6 @@
packages:
- /tmp/wannat_deploy/{{ wangw_global.rpm_files.toroad_rpm_file }}
- name: "Template the toroad.conf"
template:
src: "{{ role_path }}/templates/toroad.conf.j2"

View File

@@ -24,9 +24,9 @@ wangw_global:
identification_by_which_device:"enp8s0"
rpm_files:
wangw_rpm_file: "libwangw-1.0.8.dbd02f6-x86_64...rpm"
wire_graft_rpm_file: "libwire_graft-1.0.19.7cdff59-x86_64...rpm"
toroad_rpm_file: "toroad-1.0.8.63c176a-x86_64...rpm"
wangw_rpm_file: "libwangw-1.0.8.dbd02f6-2.el7.x86_64.rpm"
wire_graft_rpm_file: "libwire_graft-1.0.20.9aaf15b-2.el7.x86_64.rpm"
toroad_rpm_file: "toroad-1.0.8.63c176a-2.el7.x86_64.rpm"