Commit ca07a4f7 by tingweiwang

增加自动下载unzip

1 parent 504352fa
Showing with 1 additions and 1 deletions
......@@ -31,7 +31,7 @@ NFS_3_PATH=/opt/registry/
# sed -i /PermitRootLogin/s/prohibit-password/yes/g /etc/ssh/sshd_config && service sshd restart
echo "开始安装ansbile"
apt update --allow-insecure-repositories
apt install conntrack nfs-common sshpass ansible -y --allow-unauthenticated
apt install unzip conntrack nfs-common sshpass ansible -y --allow-unauthenticated
echo "拷贝ansible-hosts文件"
cp -a /root/k8s/config/ansible-hosts /etc/ansible/hosts
echo "渲染修改ansible hosts"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!