码迷,mamicode.com
首页 >  
搜索关键字:ansible tags    ( 4743个结果
Ansible+Consul实现100台主机自动监控
ansible批量部署node_exporter; 基于consul服务发现; 将node_exporter所在机器的ip和端口注册到consul; 普罗米修斯从consul获取到ip和端口自动加入监控 100台:web、db、负载均衡、消息队列 "id": "web-1","name": "web ...
分类:其他好文   时间:2021-05-04 15:32:29    阅读次数:0
Ansible
Configuration: 默认有两个配置文件 /etc/ansible/ansible.cfg 为配置文件 /etc/ansible/hosts为inventory host_key_checking = True 时,不能使用密码链接target ...
分类:其他好文   时间:2021-04-21 12:59:45    阅读次数:0
Swagger 注解使用
###1、@Api:用在请求的类上,说明该类的作用 @Api:用在请求的类上,说明该类的作用 tags="说明该类的作用" value="该参数没什么意义,所以不需要配置" ###2、@ApiOperation:用在请求的方法上,说明方法的作用 @ApiOperation:"用在请求的方法上,说明方 ...
分类:其他好文   时间:2021-04-20 14:04:21    阅读次数:0
怎么查看python的安装路径
怎么查看python的安装路径?如下: 打开cmd 输入python C:\Users>python3 Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32 ...
分类:编程语言   时间:2021-04-14 12:28:25    阅读次数:0
ansible 批量更新 nginx 配置,以及失败时的自动回滚样例
作者:weixin_34092455 https://blog.csdn.net/weixin_34092455/article/details/89733396 本文基于 ansible 2.3.0.0 编写 我们目前有 8 个大区共 24 台 nginx 服务器,每个区除了 upstream 地 ...
分类:其他好文   时间:2021-04-08 13:18:16    阅读次数:0
ansible playbook如何处理错误(block-rescue-always)
在日常使用ansible playbook的过程中,我们有时候希望做一下补救性的操作,做一些判断, 例如: Default 1 2 3 4 5 6 7 8 9 10 11 tasks: - block: - debug: msg='i execute normally' - command: /bi ...
分类:其他好文   时间:2021-04-08 13:17:01    阅读次数:0
Ansible 教程
【注】本文译自:https://www.edureka.co/blog/ansible-tutorial/ 在阅读本文之前,你应该已经知道,Ansible 构成了 DevOps 认证的关键部分,它是用于配置管理、部署和编排的工具。 本教程的主要内容包括: 学习如何编写 Ansible 剧本 学习 A ...
分类:其他好文   时间:2021-04-07 11:20:11    阅读次数:0
Unity中的多光源
在Unity中,如果想要使用多光源,比如2个平行光,或者1个平行光+1个点光源,需要在额外的shader pass中进行处理: Pass { Tags { "LightMode" = "ForwardAdd" } Blend One One ZWrite Off CGPROGRAM ... ENDC ...
分类:编程语言   时间:2021-04-07 11:03:27    阅读次数:0
9.ansible 循环功能和忽略错误
在剧本中设置循环信息 vim test04.yml hosts: all remote_user: root tasks: name: Add Users user: name={{ item.name }} groups={{ item.groups }} state=present with_i ...
分类:其他好文   时间:2021-03-31 11:52:29    阅读次数:0
ansible_配置介绍
文档链接 https://docs.ansible.com/ansible/latest/reference_appendices/config.html 配置文件 [defaults] inventory = /etc/ansible/hosts sudo_user=root remote_por ...
分类:其他好文   时间:2021-03-30 13:37:18    阅读次数:0
4743条   上一页 1 2 3 4 5 6 ... 475 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!