Centos 7 环境下Ansible、Ansible Tower 下载 安装 访问 破解

1、安装环境
CentOS Linux release 7.8.2003 (Core)
最小4G内存,20G磁盘
2、安装Ansible
首先确认当前服务器可以正常联网,这里使用yum 安装方式。我们需要先安装一个epel-release包,然后再安装我们的 ansible 即可。

[root@localhost ~]#yum install epel-release -y
[root@localhost ~]#yum install ansible -y

3、安装完确认Ansible版本

[root@localhost ~]# ansible --version
ansible 2.9.9config file = /etc/ansible/ansible.cfgconfigured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']ansible python module location = /usr/lib/python2.7/site-packages/ansibleexecutable location = /bin/ansiblepython version = 2.7.5 (default, Apr  2 2020, 13:16:51) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
[root@localhost ~]# 

4、Tower 下载安装,修改inventory文件

**这里下载的软件是不带 bundle 包**
[root@localhost ~]#cd /opt
[root@localhost opt]#wget http://releases.ansible.com/ansible-tower/setup/ansible-tower-setup-latest.tar.gz
[root@localhost opt]#tar -xf ansible-tower-setup-latest.tar.gz
[root@localhost opt]# cd ansible-tower-setup-3.7.0-4/
[root@localhost ansible-tower-setup-3.7.0-4]# ls -ltr
总用量 56
-rwxr-xr-x.  1 root root 10888 5月  27 06:29 setup.sh
drwxr-xr-x. 21 root root  4096 5月  27 06:29 roles
-rw-r--r--.  1 root root  1518 5月  27 06:29 restore.yml
-rw-r--r--.  1 root root  1335 5月  27 06:29 rekey.yml
-rw-r--r--.  1 root root  2506 5月  27 06:29 README.md
-rw-r--r--.  1 root root  6873 5月  27 06:29 install.yml
-rw-r--r--.  1 root root   612 5月  27 06:29 backup.yml
drwxr-xr-x.  3 root root  8192 5月  27 06:29 licenses
drwxr-xr-x.  2 root root    17 5月  27 06:30 group_vars
-rw-r--r--.  1 root root   866 6月  17 09:54 inventory
[root@localhost ansible-tower-setup-3.7.0-4]# vi inventory
**修改变量如下所示即可:**
admin_password='admin'
pg_password='admin'
[root@localhost ansible-tower-setup-3.7.0-4]#./setup.sh
**若无网络问题,即可安装成功。**

5、访问Ansible Tower

在浏览器输入地址格式:https://本地IP/#/login
用户名和密码都是admin,如上面inventory文件设置所示

6、破解Tower 需要授权文件和受管理的服务器只有10台问题

**执行命令:**
touch /var/lib/awx/i18n.db && ansible-tower-service
restart

(注意此方法目前只在版本 3.7.0-4、3.7.1-1 中破解成功,其他版本未验证)
新启动有点慢,耐心等待

Ansible、Ansible Tower 下载安装相关推荐

  1. Ansible简单介绍及安装部署详解

    ansible简单介绍 ansible是新出现的自动化运维工具,基于Python开发,集合了众多运维工具(puppet.cfengine.chef.func.fabric)的优点,实现了批量系统配置. ...

  2. 【Ansible】Ansible控制windows插件安装及运行error与解决方法

    一. 问:因pip版本问题无法安装kerberos 答:安装提示需要先安装pip升级包 下载pip9.0.1升级包: ![1_2] 二.问:安装kerberos报错 答:需要先安装libkrb5开发包 ...

  3. 自动化运维工具Ansible连续剧之--介绍安装与连接

    介绍 ansible官方文档里写道 Ansible is a radically simple IT automation engine 即:Ansible是一款极其简单的IT自动化工具 它基于Pyt ...

  4. Ansible 详细用法部署安装

    #一.概述 运维工具按需不需要有代理程序来划分的话分两类: agent(需要有代理工具):基于专用的agent程序完成管理功能,puppet, func, zabbix agentless(无须代理工 ...

  5. Ansible的基本搭建安装与配置及各参数选项的作用

    Ansible简介: ansible是什么? ansible是自动化运维工具 自动化运维工具那么多,比如(statstack,puppet,cfengine.chef.func.fabric)为什么, ...

  6. ansible的介绍与安装

    Ansible的介绍与安装 文章目录 Ansible的介绍与安装 一.什么是ansible 二.ansible优点 三.ansible管理方式 四.ansible系统架构 五.ansible任务执行模 ...

  7. Ansible架构介绍与安装

    Ansible介绍与安装 一.介绍 Ansible 什么是 Ansible? Ansible是一款自动化运维工具,其主要功能是帮助运维实现IT工作的自动化.降低人为操作失误.提高业务自动化率.提升运维 ...

  8. Ansible——Ansible的练习

    Ansible的练习 环境介绍 考试要求 安装和配置 Ansible 解答 验证 创建和运行 Ansible 临时命令 解答 验证 安装软件包 解答 验证 使用 RHEL 系统角色 解答 验证 使用 ...

  9. Err:1 http://ppa.launchpad.net/ansible/ansible/ubuntu xenial/main i386 ansible all 2.9.1-1ppa~xenial

    Err:1 http://ppa.launchpad.net/ansible/ansible/ubuntu xenial/main i386 ansible all 2.9.1-1ppa~xenial ...

最新文章

  1. 从原理到落地,七大维度详解矩阵分解推荐算法
  2. notifyDataSetInvalidated()跟notifyDataSetChanged()的区别
  3. 跑faster rcnn测试时遇到错误Attribute Error: 'NoneType' object has no attribute 'astype'
  4. 在eclipse中使用hadoop插件
  5. 从源码到可执行程序的步骤
  6. C#解决Webservice第一次访问特别慢的问题
  7. SpringBoot配置绑定的两种方式
  8. 神经损伤怎么康复好 成都顾连康复医院专科专治
  9. voronoi图代码_在Unity中实时计算Voronoi图
  10. 【matlab2014B安装教程及下载】
  11. Laravel 邮件
  12. 计算机基础知识 SERVER
  13. 围棋棋盘怎么编程python_python围棋_python围棋程序_python实现围棋ai - 云+社区 - 腾讯云...
  14. php药物,php药品进销存管理系统
  15. Springboot 自定义全局异常处理
  16. mysql 查看时区_mysql 查看及修改时区的方法
  17. 程序员必读经典书籍推荐
  18. 《动手学深度学习》Task09:目标检测基础+图像风格迁移+图像分类案例1
  19. 用国外网盘中转站下载openCanvas
  20. vue element datepicker八小时时间差

热门文章

  1. [附源码]SSM计算机毕业设计宠物店管理系统JAVA
  2. 红米手机使用应用沙盒动态修改imei信息
  3. RH850进不去烧写
  4. 中途取消安装 Microsoft Office profession plus 2010卸载不了怎么办?
  5. 建模学习是个持之以恒的过程,一步一个脚印,才能真正的学到知识
  6. python笔记 - EasyGui的使用
  7. 小说分享《一个叫灾难的女孩》1
  8. e-charts折线图自适应外层div大小
  9. python |倒置字符串
  10. 压缩包里的文件名可以这样隐藏起来