mirror of https://github.com/easzlab/kubeasz.git
加载环境变量, 避免 iptables 命令不存在 (#1203)
parent
c8d7cb852a
commit
e3d372717d
|
@ -77,7 +77,7 @@
|
|||
template: src=daemon.json.j2 dest=/etc/docker/daemon.json
|
||||
|
||||
- name: flush-iptables
|
||||
shell: "iptables -P INPUT ACCEPT \
|
||||
shell: "source /etc/profile; iptables -P INPUT ACCEPT \
|
||||
&& iptables -P FORWARD ACCEPT \
|
||||
&& iptables -P OUTPUT ACCEPT \
|
||||
&& iptables -F && iptables -X \
|
||||
|
|
Loading…
Reference in New Issue