码迷,mamicode.com
首页 >  
搜索关键字:ansible configuration management    ( 11126个结果
Ansible
Configuration: 默认有两个配置文件 /etc/ansible/ansible.cfg 为配置文件 /etc/ansible/hosts为inventory host_key_checking = True 时,不能使用密码链接target ...
分类:其他好文   时间:2021-04-21 12:59:45    阅读次数:0
mybatis 配置
mybatis-config.xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd ...
分类:其他好文   时间:2021-04-20 15:04:02    阅读次数:0
shell-script - shell 如何获取 nginx 配置文件位置?
通过nginx -t获得 nginx=`nginx -t 2>&1 | grep configuration` if [ ! -z "$nginx" ];then nginxtmp="${nginx#*file}" nginxf="${nginxtmp%test*}" echo $nginxf fi ...
分类:系统相关   时间:2021-04-19 15:38:16    阅读次数:0
gateway踩坑记录
问题一:Consider defining a bean of type 'org.springframework.http.codec.ServerCodecConfigurer' in your configuration. 原因: gatweway使用的是webflux,webflux属于响应 ...
分类:其他好文   时间:2021-04-19 15:26:06    阅读次数:0
Springboot 常用注解
springboot常用注解 1. @SpringBootApplication 这个注解是 Spring Boot 项目的基石,创建 SpringBoot 项目之后会默认在主类加上。 @SpringBootApplication看作是 @Configuration、@EnableAutoConfi ...
分类:编程语言   时间:2021-04-12 12:19:37    阅读次数:0
SpringBoot简单尝试
一、spring boot核心 配置在类路径下autoconfigure下(多瞅瞅) @SpringBootApplication里的重要注解(@Configuration,@EnableAutoConfiguration,@ComponentScan三个注解的组合。) @ComponentScan ...
分类:编程语言   时间:2021-04-08 14:09:17    阅读次数: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
注解 用到
@Autowired 这个注解就是spring可以自动帮你把bean里面引用的对象的setter/getter方法省略,它会自动帮你set/get。 @Bean 告诉方法, 产生一个 bean 对象, 随后这个 Bean 对象将由 spring 管理. @Configuration 类级定义, 表明 ...
分类:其他好文   时间:2021-04-07 10:33:21    阅读次数:0
11126条   上一页 1 ... 6 7 8 9 10 ... 1113 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!