更新rpm包版本.
This commit is contained in:
BIN
roles/toroad/files/rpm/toroad-1.0.8.63c176a-2.el7.x86_64.rpm
Normal file
BIN
roles/toroad/files/rpm/toroad-1.0.8.63c176a-2.el7.x86_64.rpm
Normal file
Binary file not shown.
Binary file not shown.
@@ -9,6 +9,11 @@
|
|||||||
src: "{{ role_path }}/files/rpm/{{ wangw_global.rpm_files.toroad_rpm_file }}"
|
src: "{{ role_path }}/files/rpm/{{ wangw_global.rpm_files.toroad_rpm_file }}"
|
||||||
dest: "/tmp/wannat_deploy/"
|
dest: "/tmp/wannat_deploy/"
|
||||||
|
|
||||||
|
- name: "Creates /opt/wannat/toroad/etc directory"
|
||||||
|
file:
|
||||||
|
path: /opt/wannat/toroad/etc
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: "install toroad"
|
- name: "install toroad"
|
||||||
yum:
|
yum:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
@@ -17,7 +22,6 @@
|
|||||||
packages:
|
packages:
|
||||||
- /tmp/wannat_deploy/{{ wangw_global.rpm_files.toroad_rpm_file }}
|
- /tmp/wannat_deploy/{{ wangw_global.rpm_files.toroad_rpm_file }}
|
||||||
|
|
||||||
|
|
||||||
- name: "Template the toroad.conf"
|
- name: "Template the toroad.conf"
|
||||||
template:
|
template:
|
||||||
src: "{{ role_path }}/templates/toroad.conf.j2"
|
src: "{{ role_path }}/templates/toroad.conf.j2"
|
||||||
|
|||||||
BIN
roles/wangw/files/rpm/libwangw-1.0.8.dbd02f6-2.el7.x86_64.rpm
Normal file
BIN
roles/wangw/files/rpm/libwangw-1.0.8.dbd02f6-2.el7.x86_64.rpm
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -24,9 +24,9 @@ wangw_global:
|
|||||||
identification_by_which_device:"enp8s0"
|
identification_by_which_device:"enp8s0"
|
||||||
|
|
||||||
rpm_files:
|
rpm_files:
|
||||||
wangw_rpm_file: "libwangw-1.0.8.dbd02f6-x86_64...rpm"
|
wangw_rpm_file: "libwangw-1.0.8.dbd02f6-2.el7.x86_64.rpm"
|
||||||
wire_graft_rpm_file: "libwire_graft-1.0.19.7cdff59-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-x86_64...rpm"
|
toroad_rpm_file: "toroad-1.0.8.63c176a-2.el7.x86_64.rpm"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user