Commit 5070a959 authored by nanahira's avatar nanahira

force mark

parent 82a8cce8
......@@ -2,8 +2,7 @@
- name: 安装软件包 (apt)
become: true
apt:
name: wireguard,resolvconf
state: latest
name: wireguard
update_cache: yes
when: ansible_os_family == 'Debian'
- name: WireGuard 源 (CentOS)
......
......@@ -146,7 +146,7 @@ class InventoryBuilder {
const localGatewayName = (cis ? params.lif : params.rif) || params.if;
const localGateway = localGatewayName ? this.gateways[local.name][localGatewayName] : _.find(this.gateways[local.name]);
//console.log(local.name, paramsString, params, localGatewayName, localGateway.name)
const localGatewayMark = localGatewayName ? localGateway.selectionMark: "";
const localGatewayMark = localGateway.selectionMark;
const remoteGatewayName = (cis ? params.rif : params.lif) || params.if;
const remoteGateway = remoteGatewayName ? this.gateways[remote.name][remoteGatewayName] : _.find(this.gateways[remote.name]);
//const remoteGatewayMark = remoteGatewayName ? remoteGateway.mark : undefined;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment