四步搞定ansible-tower
环境准备
step1 下载ansible-tower最新版
step2 解压tower到opt下,并配置初始密码
tar zxvf ansible-tower-setup-bundle-latest.el7.tar.gz -C /opt/
cd /opt/ansible-tower-setup-bundle-3.5.2-1.el7/
# cat inventory
[tower]
localhost ansible_connection=local
[database]
[all:vars]
admin_password='admin' #增加,默认无
pg_host=''
pg_port=''
pg_database='awx'
pg_username='awx'
pg_password='awx' #增加,默认无
rabbitmq_username=tower
rabbitmq_password='tower' #增加,默认无
rabbitmq_cookie=cookiemonster
step3 执行sh setup
step4 访问并激活无限hosts
# 执行下面命令,刷新tower页面即可
echo codyguo > /var/lib/awx/i18n.db