1 Star 0 Fork 10

张皓 / k8s 高可用集群 ansible 剧本部署

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
harbor_deploy.yaml 951 Bytes
一键复制 编辑 原始数据 按行查看 历史
山河已无恙 提交于 2023-02-05 23:52 . init
# ansible 2.9.27
# # config file = /root/ansible/ansible.cfg
# # configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
# # ansible python module location = /usr/lib/python2.7/site-packages/ansible
# # executable location = /usr/bin/ansible
# # python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]
#
# #@File : k8s_deploy.yaml
# #@Time : 2023/01/19 23:02:47
# #@Author : Li Ruilong
# #@Version : 1.0
# #@Desc : harbor 镜像库安装剧本
# #@Contact : liruilonger@gmail.com
---
- name: k8s deploy 1
hosts: k8s
tasks:
# 初始化 harbor 安装环境
- name: init harbor
include_tasks:
file: k8s_init_deploy.yaml
tags:
- init_k8s
# 安装 CRI docker ,cri-docker
- name: CRI deploy (docker,cri-docker)
include_tasks:
file: k8s_cri_deploy.yaml
tags: cri
1
https://gitee.com/zhanghaosdc/k8s_deploy_ansible.git
git@gitee.com:zhanghaosdc/k8s_deploy_ansible.git
zhanghaosdc
k8s_deploy_ansible
k8s 高可用集群 ansible 剧本部署
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891