当前位置: 首页 > 工具软件 > Tower-web > 使用案例 >

web自动化可视化管理linux,自动化运维-安装Ansible工具web图形化管理界面Ansible Tower及常见报错分析...

慕才
2023-12-01

# 安装curlpostgresql

yum-y install vim curl postgresql

mkdir/tmp/tower && cd /tmp/tower

# 下载安装包 curl-k -O https://releases.ansible.com/ansible-tower/setup/ansible-tower-setup-latest.tar.gz # 解压 tar xvf ansible-tower-setup-latest.tar.gz

# 进入到安装目录 cd ansible-tower-setup*/# 修改配置文件

[root@vm-CentOS750211 ansible-tower-setup-3.6.2-1]# sed -i "s#password=''#password='324215'#g" inventory

[root@vm-CentOS750211 ansible-tower-setup-3.6.2-1]# sed -i "s#host=''#host='127.0.0.1'#g" inventory

[root@vm-CentOS750211 ansible-tower-setup-3.6.2-1]# sed -i "s#port=''#port='5432'#g" inventory

# 安装并启动supervisord服务,否则启动报错

systemctl enable supervisord

systemctl start supervisord

# 创建日志目录,然后安装,否则会报错

[root@vm-CentOS750211 ansible-tower-setup-3.6.2-1]# mkdir -p /var/log/tower

[root@vm-CentOS750211 ansible-tower-setup-3.6.2-1]# ./setup.sh

 类似资料: