1.安装最新版python

2.安装最新版docker

设置国内docker镜像源

curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361db2.m.daocloud.io

重启docker (ubuntu)

sudo systemctl restart docker.service

3.git clone https://github.com/ansible/awx.git

4.进入到项目目录,创建虚拟环境

5.pip install docker

6.pip install docker-compose

7.安装node  npm

8.进入到项目目录,执行安装程序

cd installer
ansible-playbook -i inventory install.yml
# Tail the the awx_task log
$ docker logs -f awx_task
当看到以下类似内容后,部署完成
Using /etc/ansible/ansible.cfg as config file
127.0.0.1 | SUCCESS => {
"changed": false,
"db": "awx"
}
Operations to perform:
Synchronize unmigrated apps: solo, api, staticfiles, messages, channels, django_extensions, ui, rest_framework, polymorphic
Apply all migrations: sso, taggit, sessions, sites, kombu_transport_django, social_auth, contenttypes, auth, conf, main
Synchronizing apps without migrations:
Creating tables...
Running deferred SQL...
Installing custom SQL...
Running migrations:
Rendering model states... DONE
Applying contenttypes.0001_initial... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0001_initial... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying taggit.0001_initial... OK
Applying taggit.0002_auto_20150616_2121... OK
Applying main.0001_initial... OK 9.访问127.0.0.1
10.通过docker-compose管理
进入到~/.awx/awxcompose
docker-compose stop 关闭
docker-compose start 启动

最新文章

  1. yum只下载不安装:yumdownloader
  2. 基础篇-spring包的下载
  3. AOP 注入失败的问题
  4. winform对话框控件
  5. MVC EF 执行SQL语句
  6. 解决客户端通过zookeeper连接到hbase时连接过多的问题
  7. 求关注 wcf bindipendpointdelegate 端口限制的功能
  8. Qt mac QMYSQL(动态加载插件QPluginLoader的用法)
  9. JAVAEE——SSH项目实战02:客户列表和BaseDao封装
  10. 04mycat数据切分
  11. Mac删除默认美国输入法
  12. python之json&pickle
  13. C#特性:ConditionalAttribute
  14. Ubuntu18---安装Redis和简单使用Redis
  15. PHP 发送HTTP请求的几种方式
  16. 史上最简单的 GitHub 教程
  17. mini2440的程序下载
  18. PHP5.3新特性
  19. HTML5 Web存储 页面间进行传值
  20. CSS学习笔记(6)--浮动,三列布局,高度宽度自适应

热门文章

  1. 数据结构实验之查找七:线性之哈希表 (SDUT 3379)
  2. Mybatis 通用Mapper增强
  3. mysql 统计查询出来的数目
  4. Redis企业实战的几个坑
  5. web容量规划
  6. fluent中截取任意面的数据
  7. Ubuntu16.04 RYU pip命令安装
  8. Linux文件的权限的基本介绍
  9. python棱形继承(钻石继承)
  10. Thingsboard MQTT连接至服务器