We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第51行由于没有建立目录/etc/ansible,会导致出错,可以用以下方法: 1、终端控制台先执行:# mkdir /etc/ansible 或2、将此命令(mkdir /etc/ansible/)添加在auto_install.sh文件中第51行之前一行。
The text was updated successfully, but these errors were encountered:
这应该是安装ansible时某种原因没能创建/etc/ansible目录导致的。
如果要在auto_install.sh中加上需要加 -p参数。 mkdir -p /etc/ansible
Sorry, something went wrong.
No branches or pull requests
auto_install.sh文件中第51行,
37 # 安装依赖
38 echo "####install depandencies####"
39 yum install -y epel-release
40 yum install -y gcc expect python-pip python-devel smartmontools dmidecode libse linux-python git rsync dos2unix
41 yum install -y openssl openssl-devel openldap-devel
42
43 # 分发代码
44 if [ ! $cur_dir ] || [ ! $adminset_dir ]
45 then
46 echo "install directory info error, please check your system environment pr ogram exit"
47 exit 1
48 else
49 rsync --delete --progress -ra --exclude '.git' $cur_dir/ $adminset_dir
50 fi
51 scp $adminset_dir/install/server/ansible/ansible.cfg /etc/ansible/ansible.cfg
52
53 #安装数据库
第51行由于没有建立目录/etc/ansible,会导致出错,可以用以下方法:
1、终端控制台先执行:# mkdir /etc/ansible
或2、将此命令(mkdir /etc/ansible/)添加在auto_install.sh文件中第51行之前一行。
The text was updated successfully, but these errors were encountered: