bugfix:修改stellar-c和firewall rpm prefix为/opt/tsg/
This commit is contained in:
@@ -28,6 +28,7 @@ firewall_rpm_version:
|
||||
session_flags: session_flags-2.2.2.8817a79
|
||||
stat_policy_enforcer: stat_policy_enforcer-3.1.2.e0eaa81
|
||||
sf_classifier: sf_classifier-1.0.6.a4f06b3
|
||||
stellar-c: stellar-c-1.0.3.87626a3
|
||||
|
||||
framework_rpm_version:
|
||||
00_libcjson: libcjson-1.7.12.6c09dcf
|
||||
|
||||
@@ -9,8 +9,17 @@
|
||||
with_dict: "{{ firewall_rpm_version }}"
|
||||
|
||||
- name: "Install firwall that are sapp plugins"
|
||||
shell: rpm -i /tmp/rpm_download/{{ item.value }}* --prefix {{ prefix_path.sapp }}
|
||||
with_dict: "{{ firewall_rpm_version }}"
|
||||
shell: rpm -i /tmp/rpm_download/{{ item.1 }}* --prefix {{ prefix_path.sapp }}
|
||||
when:
|
||||
- item.1 is not search("stellar-c")
|
||||
- item.1 is not search("firewall")
|
||||
loop: "{{ firewall_rpm_version }}"
|
||||
|
||||
- name: "Install firwall and stellar-c rpm plugins"
|
||||
shell: rpm -i /tmp/rpm_download/{{ item }}* --prefix /opt/tsg/
|
||||
with_items:
|
||||
- "{{ firewall_rpm_version['stellar-c'] }}"
|
||||
- "{{ firewall_rpm_version['firewall'] }}"
|
||||
|
||||
- name: "Template the tsgconf/main.conf"
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user