mirror of https://github.com/easzlab/kubeasz.git
加载环境变量, 避免 iptables 命令不存在 (#1203)
parent
82c6bc595e
commit
daf2bba1fc
|
@ -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