本文编写于 1293 天前,最后修改于 1293 天前,其中某些信息可能已经过时。
			  安装Tower
https://releases.ansible.com/ansible-tower/setup-bundle/下载软件包或者直接wget
wget https://releases.ansible.com/ansible-tower/setup-bundle/ --no-check-cretificate
cd ansible-tower-setup-bundle-3.6.4-1
./setup.sh破解Tower
安装python3-pip和反汇编工具
yum install python3-pip
pip3 install uncompyle6
cd /var/lib/awx/venv/awx/lib/python3.6/site-packages/tower_license
uncompyle6 __init__.pyc >__init__.py
vim __init__.py修改成如下:
    def _generate_cloudforms_subscription(self):
        self._attrs.update(dict(company_name='Red Hat CloudForms License', instance_count=MAX_INSTANCES,
          license_date=253370764800,
          license_key='xxxx',
          license_type='enterprise',
          subscription_name='Red Hat CloudForms License'))
    def _check_cloudforms_subscription(self):
        return True
        if os.path.exists('/var/lib/awx/i18n.db'):
            return True
        else:重启服务
ansible-tower-service restart