Merge "Couple tiny fixes for deploy-env role"
This commit is contained in:
commit
8b67f87999
@ -51,7 +51,7 @@
|
|||||||
wg set client-wg listen-port 51820 private-key /root/wg-private-key peer {{ client_wg_public_key }} allowed-ips {{ tunnel_network_cidr }} endpoint {{ client_default_ip }}:51820
|
wg set client-wg listen-port 51820 private-key /root/wg-private-key peer {{ client_wg_public_key }} allowed-ips {{ tunnel_network_cidr }} endpoint {{ client_default_ip }}:51820
|
||||||
ip link set client-wg up
|
ip link set client-wg up
|
||||||
iptables -t filter -P FORWARD ACCEPT
|
iptables -t filter -P FORWARD ACCEPT
|
||||||
iptables -t filter -I FORWARD -o client-gw -j ACCEPT
|
iptables -t filter -I FORWARD -o client-wg -j ACCEPT
|
||||||
EOF
|
EOF
|
||||||
chmod +x /tmp/configure_cluster_tunnel.sh
|
chmod +x /tmp/configure_cluster_tunnel.sh
|
||||||
/tmp/configure_cluster_tunnel.sh
|
/tmp/configure_cluster_tunnel.sh
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
- name: "Set kubconfig file ownership for {{ kubectl.user }} user"
|
- name: "Set kubconfig file ownership for {{ kubectl.user }} user"
|
||||||
shell: |
|
shell: |
|
||||||
chown -R {{ kubectl.user }}:{{ kubectl.group }} /home/{{ kubectl.user }}/.kube
|
chown -R {{ kubectl.user }}:{{ kubectl.group }} {{ user_home_directory }}/.kube
|
||||||
|
|
||||||
- name: Deploy Helm
|
- name: Deploy Helm
|
||||||
block:
|
block:
|
||||||
|
Loading…
Reference in New Issue
Block a user