增加TFE配置文件中关于解密流量转发的配置

This commit is contained in:
Lu Qiuwen
2019-09-23 11:15:37 +08:00
parent 0d4b7bdd62
commit 02e36d0b9c
4 changed files with 27 additions and 13 deletions

View File

@@ -4,14 +4,21 @@
src: "{{ role_path }}/files/"
dest: /tmp/ansible_deploy/
- name: "install tfe rpms"
- name: "install tfe rpms from localhost"
yum:
name: "{{ packages }}"
state: present
vars:
packages:
name:
- /tmp/ansible_deploy/tfe-kmod-v1.0.3.20190828-1dkms.noarch.rpm
- /tmp/ansible_deploy/tfe-4.1.2.af90bc7-1.el7.x86_64.rpm
state: present
when: package_source == "local"
- name: "install tfe rpms from pulp"
yum:
name:
- /tmp/ansible_deploy/tfe-kmod-v1.0.3.20190828-1dkms.noarch.rpm
- tfe
state: latest
when: package_source == "pulp"
- name: "template tfe-env config"
template: