./redhat/tower_license/。5.安装ANSIBLETOWER在RHEL6上本小节介绍的是AnsibleTower在RHEL6上的标准安装,使用单节点,内置数据库。5.1安装介质准备上传Bundled安装介质至服务器ansible6.:/opt目录下:#ls/opt/ansible-tower-setup-bundle-3.0.3-1.el6.tar.gz/opt/ansible-tower-setup-bundle-3.0.3-1.el6.tar.gz解压:#cd/opt#tar-xf/opt/ansible-tower-setup-bundle-3.0.3-1.el6.tar.gz#lsansible.cfgbackup.ymlbundlegroup_varsinstall.ymlinventorylicensesREADME.mdrestore.ymlrolessetup.sh5.2设置Inventory文件AnsibleTower3.0的安装省略了运行./configure的步骤,在执行安装之前,需要手动修改inventory文件,根据当前的环境情况,进行配置。以下是配置示例:(1)单节点内置数据库:[primary]localhostansible_connection=local[secondary][database][all:vars]admin_password='password'#使用实际的密码替换passwordredis_password='password'#使用实际的密码替换passwordpg_host=''pg_port=''pg_database='awx'pg_username='awx'pg_password='password'#使用实际的密码替换password(2)双节点+已安装的外部数据库:[primary]